Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 202.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8225, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003652/0.8262, allocations: 2.028 MB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.8277, allocations: 0.6935 MB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.8278, allocations: 4 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.828, allocations: 31.61 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.8281, allocations: 43.58 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.8286, allocations: 163.8 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.8291, allocations: 415.1 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.8295, allocations: 210.5 kB / 1.278 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.8296, allocations: 135.6 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.8299, allocations: 151.3 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.8299, allocations: 40 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.83, allocations: 47.98 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.8301, allocations: 83.77 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.8303, allocations: 155.3 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.8309, allocations: 434.3 kB / 1.279 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8309, allocations: 4 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8309, allocations: 0 / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.8309, allocations: 0 / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001138/0.832, allocations: 0.6026 MB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.8321, allocations: 15.97 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.8322, allocations: 36.75 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.8327, allocations: 264 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.8327, allocations: 29.02 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.229e-05/0.8328, allocations: 36.38 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007995/0.8336, allocations: 337 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.8336, allocations: 4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.8336, allocations: 11.98 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.8336, allocations: 12 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000633/0.8343, allocations: 246.1 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.836, allocations: 0.9554 MB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.8367, allocations: 253.7 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.8369, allocations: 112.8 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.837, allocations: 7.984 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/0.8374, allocations: 179.7 kB / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 2.335e-06/0.8374, allocations: 0 / 1.282 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0009749/0.8384, allocations: 361.4 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/0.8385, allocations: 59.41 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.8387, allocations: 199.4 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.8387, allocations: 45.64 kB / 1.282 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.8389, allocations: 156.8 kB / 1.282 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.839, allocations: 83.36 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.8391, allocations: 94.06 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8393, allocations: 338.8 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.8396, allocations: 112.8 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.8399, allocations: 161.5 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/0.8405, allocations: 258.7 kB / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.8405, allocations: 0 / 1.283 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008025/0.8413, allocations: 378.7 kB / 1.284 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.8413, allocations: 33.7 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.8413, allocations: 0 / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.8414, allocations: 4 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.8416, allocations: 39.91 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.8416, allocations: 7.938 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.8419, allocations: 59.89 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.8419, allocations: 16 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.localCondition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.localCondition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,wseCHWST.count,$PRE.wseCHWST.count,wseCHWST.T_start,$PRE.wseCHWST.T_start,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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.0002182/0.8422, allocations: 173.7 kB / 1.284 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.8422, allocations: 27.8 kB / 1.284 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007375/0.8429, allocations: 292.9 kB / 1.284 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.843, allocations: 7.938 kB / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.843, allocations: 0 / 1.284 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.843, allocations: 7.984 kB / 1.284 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.8443, allocations: 0.737 MB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8443, allocations: 0 / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.8445, allocations: 35.97 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8445, allocations: 4 kB / 1.285 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.8445, allocations: 4 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.8445, allocations: 7.938 kB / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8445, allocations: 0 / 1.285 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006917/0.8452, allocations: 380.2 kB / 1.285 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.8453, allocations: 104.9 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.8453, allocations: 8 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.8456, allocations: 35.89 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.8457, allocations: 35.95 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.8457, allocations: 12 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001224/0.8459, allocations: 135.7 kB / 1.286 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8459, allocations: 4 kB / 1.286 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003758/0.8462, allocations: 71.83 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.localActive,wseCon.off.newActive,wseCon.off.oldActive,wseCon.T1.localCondition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.localActive,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.localCondition,wseCon.T2.fire,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * Number of discrete states: 3 (wseCHWST.count,wseCon.off.newActive,wseCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.8464, allocations: 121.4 kB / 1.286 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007591/0.8472, allocations: 319.1 kB / 1.286 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8472, allocations: 4.312 kB / 1.286 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.8475, allocations: 127.8 kB / 1.286 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.8479, allocations: 33.64 kB / 1.286 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.8488, allocations: 468.3 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.8492, allocations: 0.7603 MB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.8493, allocations: 30.28 kB / 1.288 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.8494, allocations: 31.42 kB / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.8494, allocations: 0 / 1.288 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.007753/0.8572, allocations: 3.221 MB / 1.291 GB, free: 2.871 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.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: 8.624303557910025]