Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.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.001693/0.001693, 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.002002/0.002002, allocations: 216.4 kB / 23 MB, free: 4.965 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.348/3.348, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2639,variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2639,variableFilter="time|sysHys.u|sysHys.y|sysHys.yPum|sysHys1.yPum|sysHys.sysOn",fileNamePrefix="Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis") [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.002059/0.002059, allocations: 70.83 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4672, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis): time 0.003389/0.4706, allocations: 1.409 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003395/0.474, allocations: 1.919 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.4742, allocations: 11.88 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.4745, allocations: 47.41 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.4747, allocations: 75.38 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.4759, allocations: 0.4889 MB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008478/0.4768, allocations: 0.737 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003218/0.4771, allocations: 153.7 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003974/0.4775, allocations: 311.2 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003743/0.4779, allocations: 286.9 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.478, allocations: 80 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.4781, allocations: 92 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.4783, allocations: 127.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.4786, allocations: 243.2 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.4796, allocations: 0.8175 MB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4796, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4796, allocations: 0 / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.4796, allocations: 0 / 1.334 GB, free: 10.25 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001691/0.4813, allocations: 0.7919 MB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4813, allocations: 8.031 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4815, allocations: 52.7 kB / 1.335 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.4824, allocations: 377.9 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.4825, allocations: 41.02 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4826, allocations: 56.36 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008048/0.4834, allocations: 386 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4834, allocations: 0 / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.4835, allocations: 23.97 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4835, allocations: 8 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.4841, allocations: 294.4 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001849/0.4859, allocations: 0.9104 MB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.4867, allocations: 348.2 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.4871, allocations: 153.3 kB / 1.337 GB, free: 6.715 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.4871, allocations: 4.281 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.4879, allocations: 413.4 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of pre-optimization done (n=51): time 2.895e-06/0.4879, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=51): time 0.001572/0.4895, allocations: 0.7253 MB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.4895, allocations: 63.77 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.4899, allocations: 292 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.49, allocations: 57.7 kB / 1.339 GB, free: 5.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4902, allocations: 197.7 kB / 1.339 GB, free: 4.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.4903, allocations: 127.1 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.4905, allocations: 150.3 kB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4907, allocations: 350.8 kB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.4912, allocations: 314.2 kB / 1.34 GB, free: 3.969 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.4918, allocations: 432.9 kB / 1.34 GB, free: 3.484 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.4926, allocations: 0.5006 MB / 1.341 GB, free: 2.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4926, allocations: 0 / 1.341 GB, free: 2.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001367/0.4939, allocations: 0.8416 MB / 1.341 GB, free: 2.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.494, allocations: 109 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.4941, allocations: 8 kB / 1.341 GB, free: 1.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.4941, allocations: 8 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.4943, allocations: 59.84 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.4943, allocations: 8 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/0.495, allocations: 136 kB / 1.342 GB, free: 1.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.4951, allocations: 31.98 kB / 1.342 GB, free: 1.664 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.sysHys.truDel.u,$PRE.sysHys1.truDel.u,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$PRE.sysHys1.truDel.t_next,$whenCondition10,$PRE.sysHys.truDel.t_next,$whenCondition4,sysHys1.truDel.t_next,sysHys.truDel.t_next,booPul.y,$PRE.booPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,sysHys1.truDel.y,sysHys1.truDel.u,sysHys1.truFalHol1.entryTimeFalse,$PRE.sysHys1.truFalHol1.entryTimeFalse,sysHys1.truFalHol1.entryTimeTrue,$PRE.sysHys1.truFalHol1.entryTimeTrue,sysHys1.truFalHol1.not_y,$PRE.sysHys1.truFalHol1.not_y,sysHys1.truFalHol1.not_u,$PRE.sysHys1.truFalHol1.not_u,sysHys1.truFalHol1.y,$PRE.sysHys1.truFalHol1.y,sysHys1.truFalHol1.u,$PRE.sysHys1.truFalHol1.u,sysHys1.greThr.greHys.y,$PRE.sysHys1.greThr.greHys.y,sysHys.truDel.y,sysHys.truDel.u,sysHys.truFalHol1.entryTimeFalse,$PRE.sysHys.truFalHol1.entryTimeFalse,sysHys.truFalHol1.entryTimeTrue,$PRE.sysHys.truFalHol1.entryTimeTrue,sysHys.truFalHol1.not_y,$PRE.sysHys.truFalHol1.not_y,sysHys.truFalHol1.not_u,$PRE.sysHys.truFalHol1.not_u,sysHys.truFalHol1.y,$PRE.sysHys.truFalHol1.y,sysHys.truFalHol1.u,$PRE.sysHys.truFalHol1.u,sysHys.greThr.greHys.y,$PRE.sysHys.greThr.greHys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * 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.0003411/0.4954, allocations: 218.2 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.4955, allocations: 43.7 kB / 1.342 GB, free: 1.398 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.4956, allocations: 39.64 kB / 1.342 GB, free: 1.363 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4956, allocations: 3.984 kB / 1.342 GB, free: 1.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4956, allocations: 4 kB / 1.342 GB, free: 1.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.4957, allocations: 31.7 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4958, allocations: 31.98 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.496, allocations: 35.95 kB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.4961, allocations: 64.27 kB / 1.342 GB, free: 1.195 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001203/0.4973, allocations: 0.648 MB / 1.343 GB, free: 0.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001197/0.4985, allocations: 0.7414 MB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003977/0.4989, allocations: 199.3 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002114/0.4992, allocations: 191.1 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of Backend: time 6.72e-07/0.4992, allocations: 0 / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.5005, allocations: 0.6763 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of SimCode: time 0.001478/0.502, allocations: 1.034 MB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of Templates: time 0.01531/0.5173, allocations: 8.082 MB / 1.353 GB, free: 5.621 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe ; mkfifo Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe >> ../files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.sim & ./Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SystemHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SystemHysteresis.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.774250549002318]