Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001781/0.001781, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.539/2.539, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 67.89 kB / 0.8686 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6273/0.6286, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003963/0.6326, allocations: 2.092 MB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.6343, allocations: 0.7014 MB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.6346, allocations: 4 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.6348, allocations: 23.69 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.635, allocations: 27.78 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.6355, allocations: 147.8 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000442/0.636, allocations: 375.2 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003581/0.6363, allocations: 216.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.6365, allocations: 111.6 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.6367, allocations: 135.3 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.6368, allocations: 20 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-05/0.6369, allocations: 31.98 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.505e-05/0.637, allocations: 63.75 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.6371, allocations: 135.3 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.6375, allocations: 392.8 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6375, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.01e-07/0.6376, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6376, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 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.00101/0.6386, allocations: 0.5952 MB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6386, allocations: 11.98 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.6387, allocations: 32.56 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.6391, allocations: 277.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.6391, allocations: 33.02 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.6392, allocations: 32.38 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.6398, allocations: 341.1 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.6398, allocations: 0 / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.6399, allocations: 12 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6399, allocations: 8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.6405, allocations: 254 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.642, allocations: 0.9512 MB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.6426, allocations: 270.9 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.6429, allocations: 120.8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.6429, allocations: 8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004295/0.6434, allocations: 183.7 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.6434, allocations: 0 / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.000822/0.6442, allocations: 349.2 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.6443, allocations: 55.41 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.6445, allocations: 207.3 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.6445, allocations: 45.7 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.6446, allocations: 152.5 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6447, allocations: 82.98 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.6449, allocations: 86.11 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.645, allocations: 338.8 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.6453, allocations: 108.8 kB / 1.025 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.6456, allocations: 173.3 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00054/0.6462, allocations: 254.7 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.6462, allocations: 0 / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007135/0.6469, allocations: 374.5 kB / 1.026 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.6469, allocations: 36.05 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.647, allocations: 160 / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.647, allocations: 8 kB / 1.026 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.6472, allocations: 43.91 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.6472, allocations: 7.938 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/0.6475, allocations: 59.55 kB / 1.026 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.6475, allocations: 16 kB / 1.026 GB, free: 8.598 MB / 0.7794 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.condition,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.condition,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.0001701/0.6477, allocations: 177.6 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.6477, allocations: 19.81 kB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006292/0.6484, allocations: 295.2 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.6484, allocations: 0 / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6484, allocations: 4 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6484, allocations: 11.92 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6495, allocations: 0.7491 MB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6496, allocations: 3.984 kB / 1.027 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.6497, allocations: 31.92 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6497, allocations: 0 / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.6497, allocations: 8 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6498, allocations: 7.938 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6498, allocations: 3.984 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.6504, allocations: 367.4 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.913e-05/0.6505, allocations: 100.8 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.466e-05/0.6505, allocations: 11.98 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.6508, allocations: 35.91 kB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.6509, allocations: 39.94 kB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.6509, allocations: 12 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001039/0.651, allocations: 127.5 kB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6511, allocations: 0 / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003304/0.6514, allocations: 67.83 kB / 1.028 GB, free: 6.441 MB / 0.7794 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.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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.0001632/0.6516, allocations: 125.4 kB / 1.028 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006623/0.6522, allocations: 327.9 kB / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6522, allocations: 0 / 1.029 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.6525, allocations: 143.8 kB / 1.029 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.6529, allocations: 36.23 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.6538, allocations: 0.5399 MB / 1.029 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.6541, allocations: 0.7603 MB / 1.03 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.6542, allocations: 30.28 kB / 1.03 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.424e-05/0.6543, allocations: 23.44 kB / 1.03 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.6543, allocations: 0 / 1.03 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.006013/0.6603, allocations: 2.861 MB / 1.033 GB, free: 1.547 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches