Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 102.7 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001782/0.001782, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001488, allocations: 71.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8896/0.8911, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003551/0.8948, allocations: 2.014 MB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.896, allocations: 0.681 MB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.8962, allocations: 4.156 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.8964, allocations: 35.53 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.8965, allocations: 39.25 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.897, allocations: 155 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005157/0.8975, allocations: 407.6 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.8979, allocations: 252.8 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.8982, allocations: 130.3 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.8984, allocations: 149.4 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.613e-05/0.8985, allocations: 39.91 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8986, allocations: 52.88 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.8987, allocations: 89.31 kB / 1.093 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.8989, allocations: 150.9 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006108/0.8995, allocations: 435.2 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8995, allocations: 0.7812 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8995, allocations: 0 / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.8995, allocations: 1.031 kB / 1.093 GB, free: 2.691 MB / 0.8575 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.001034/0.9006, allocations: 0.6037 MB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9006, allocations: 9.969 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.9007, allocations: 29.61 kB / 1.094 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.9011, allocations: 272.6 kB / 1.094 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.9012, allocations: 25.08 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.9012, allocations: 34.36 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.902, allocations: 345.8 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.902, allocations: 0.9844 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.9021, allocations: 11.09 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.9021, allocations: 7.031 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.9028, allocations: 251.4 kB / 1.095 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.9043, allocations: 0.947 MB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.905, allocations: 271.8 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.9053, allocations: 119.9 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.9054, allocations: 7.797 kB / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.9058, allocations: 190.8 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=32): time 2.264e-06/0.9058, allocations: 0.9688 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=32): time 0.0009525/0.9068, allocations: 347.4 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.9068, allocations: 58.31 kB / 1.097 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.9071, allocations: 198.3 kB / 1.097 GB, free: 396 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.9072, allocations: 44.64 kB / 1.097 GB, free: 352 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.9073, allocations: 156.5 kB / 1.097 GB, free: 208 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.9074, allocations: 81.5 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.9075, allocations: 96.12 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.9077, allocations: 341 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.908, allocations: 104.3 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.9084, allocations: 173.6 kB / 1.098 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.9089, allocations: 258.3 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9089, allocations: 1.125 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007641/0.9097, allocations: 366.8 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.9098, allocations: 33.61 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.9098, allocations: 1.156 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.9098, allocations: 2.969 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.91, allocations: 47.69 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.9101, allocations: 3.922 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.9104, allocations: 59.28 kB / 1.098 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.046e-05/0.9104, allocations: 12.28 kB / 1.098 GB, free: 15.22 MB / 0.8731 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.0002025/0.9106, allocations: 181.9 kB / 1.099 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.9107, allocations: 18.81 kB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.9113, allocations: 296.5 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.9114, allocations: 3.828 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.9114, allocations: 0.9062 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9114, allocations: 2.203 kB / 1.099 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.9126, allocations: 0.7539 MB / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.9126, allocations: 0 / 1.1 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.9128, allocations: 30.7 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.9128, allocations: 1.281 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.9128, allocations: 7.328 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.9128, allocations: 6.281 kB / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9128, allocations: 0 / 1.1 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.9134, allocations: 379 kB / 1.1 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.9135, allocations: 100.7 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.9135, allocations: 11.53 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.9138, allocations: 33.91 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9139, allocations: 41.94 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.914, allocations: 11.47 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001184/0.9141, allocations: 133.9 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9141, allocations: 1.094 kB / 1.1 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003752/0.9145, allocations: 69.14 kB / 1.1 GB, free: 13.95 MB / 0.8731 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.0001911/0.9147, allocations: 122.5 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.9154, allocations: 340 kB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9154, allocations: 0 / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.9158, allocations: 133.8 kB / 1.101 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.9161, allocations: 42.75 kB / 1.101 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.9172, allocations: 477.5 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.9176, allocations: 0.7576 MB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9177, allocations: 31.44 kB / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of SimCode: time 5.31e-07/0.9177, allocations: 0 / 1.102 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.009217/0.9269, allocations: 3.518 MB / 1.106 GB, free: 12.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches