Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 213.4 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.33/3.33, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cheTemDryBul.TDryBul|cheTemDewPoi.TDewPoi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 68.33 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4385, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003641/0.4421, allocations: 1.876 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002933/0.445, allocations: 1.781 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.4451, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.4454, allocations: 39.7 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004387/0.4458, allocations: 115.4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.4463, allocations: 171.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.4467, allocations: 305.1 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.4468, allocations: 25.3 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.447, allocations: 95.83 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.4472, allocations: 113.2 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.887e-05/0.4473, allocations: 24 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.4475, allocations: 127.9 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.4477, allocations: 95.73 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.4478, allocations: 99.45 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.4484, allocations: 382.5 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4484, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4484, allocations: 0 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.4484, allocations: 3.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009381/0.4493, allocations: 0.5169 MB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4494, allocations: 8.031 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.4496, allocations: 40.73 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.4499, allocations: 229 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.45, allocations: 8.375 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.45, allocations: 20.12 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.4505, allocations: 378 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4506, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.4506, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.4506, allocations: 4 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009542/0.4515, allocations: 0.6982 MB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.4527, allocations: 0.5392 MB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.4532, allocations: 287.1 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.4534, allocations: 101.4 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.4534, allocations: 16.2 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.4539, allocations: 234.8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 3.968e-06/0.4539, allocations: 3.984 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.0007449/0.4546, allocations: 378.1 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.4547, allocations: 136.5 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003583/0.455, allocations: 325 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.4551, allocations: 33.7 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4552, allocations: 140.7 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.4553, allocations: 126.9 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.4554, allocations: 65.55 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4556, allocations: 342.8 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4557, allocations: 79.95 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.456, allocations: 208.6 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.4563, allocations: 205.2 kB / 1.337 GB, free: 6.395 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4563, allocations: 3.984 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004766/0.4568, allocations: 285.1 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4568, allocations: 8 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4568, allocations: 0 / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4569, allocations: 7.938 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.4571, allocations: 63.91 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4571, allocations: 0 / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.4573, allocations: 23.88 kB / 1.338 GB, free: 6.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.4573, allocations: 19.94 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.4575, allocations: 161.8 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.4576, allocations: 31.81 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000724/0.4583, allocations: 388.7 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.4583, allocations: 7.875 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4583, allocations: 0 / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.4584, allocations: 83.61 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.4585, allocations: 4 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.4587, allocations: 19.98 kB / 1.338 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/0.4587, allocations: 31.94 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005421/0.4593, allocations: 369.1 kB / 1.339 GB, free: 4.887 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005929/0.4599, allocations: 482.2 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001711/0.46, allocations: 104.4 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002601/0.4603, allocations: 252.4 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of Backend: time 4.31e-07/0.4603, allocations: 0 / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002844/0.4631, allocations: 0.7237 MB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of SimCode: time 0.001125/0.4643, allocations: 0.9043 MB / 1.341 GB, free: 2.633 MB / 1.029 GB Notification: Performance of Templates: time 0.01088/0.4752, allocations: 5.47 MB / 1.346 GB, free: 13.21 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.49957916999847]