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.00174/0.00174, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001792/0.001792, allocations: 189.1 kB / 16.25 MB, free: 6.152 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.803/2.803, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 71.89 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6411/0.6431, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.004947/0.6481, allocations: 2.09 MB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.6499, allocations: 0.6897 MB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.6501, allocations: 7.938 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.6504, allocations: 27.78 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.6505, allocations: 31.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.6512, allocations: 139.8 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.6519, allocations: 407.2 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005839/0.6525, allocations: 251.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.6528, allocations: 131.6 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.653, allocations: 151.3 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.6532, allocations: 40 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.6533, allocations: 40 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.6534, allocations: 87.75 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.6537, allocations: 151.3 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.6544, allocations: 420.7 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6544, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6544, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.6544, allocations: 0 / 1.021 GB, free: 14.04 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.001537/0.656, allocations: 0.599 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.656, allocations: 11.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.6562, allocations: 36.56 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000456/0.6567, allocations: 275.7 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.493e-05/0.6567, allocations: 33.03 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.6568, allocations: 36.36 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.6579, allocations: 337.1 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6579, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.658, allocations: 12 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.658, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009635/0.659, allocations: 258.1 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.6613, allocations: 0.9512 MB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009899/0.6623, allocations: 266.9 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.6628, allocations: 116.8 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.6628, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006432/0.6635, allocations: 191.7 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 2.705e-06/0.6635, allocations: 0 / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.001265/0.6647, allocations: 349.2 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.6648, allocations: 63.34 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.6651, allocations: 203.3 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.6652, allocations: 41.7 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.6654, allocations: 156.5 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6655, allocations: 78.91 kB / 1.025 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.6657, allocations: 86.12 kB / 1.025 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.666, allocations: 338.8 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.6664, allocations: 112.7 kB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.6669, allocations: 169.5 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.6676, allocations: 258.7 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.6676, allocations: 0 / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001047/0.6686, allocations: 374.5 kB / 1.026 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.6687, allocations: 33.7 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.6687, allocations: 160 / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.6688, allocations: 8 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.6691, allocations: 43.91 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.6691, allocations: 7.938 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.6695, allocations: 55.56 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.6695, allocations: 15.98 kB / 1.027 GB, free: 8.293 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.0002756/0.6698, allocations: 181.6 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.6699, allocations: 23.8 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009332/0.6708, allocations: 291.2 kB / 1.027 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6709, allocations: 4 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6709, allocations: 4 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.6709, allocations: 7.938 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.6728, allocations: 0.7529 MB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6728, allocations: 0 / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.673, allocations: 27.97 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.673, allocations: 4 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.6731, allocations: 4 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.6731, allocations: 11.94 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6731, allocations: 0 / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6741, allocations: 371.3 kB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.6742, allocations: 96.77 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.6743, allocations: 12 kB / 1.028 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.6747, allocations: 39.89 kB / 1.028 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6749, allocations: 39.89 kB / 1.028 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.675, allocations: 12 kB / 1.028 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001817/0.6752, allocations: 131.2 kB / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6752, allocations: 0 / 1.029 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005873/0.6758, allocations: 63.84 kB / 1.029 GB, free: 6.137 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.0002377/0.676, allocations: 133.4 kB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.6772, allocations: 348.2 kB / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6773, allocations: 0 / 1.029 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.6778, allocations: 135.8 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005751/0.6783, allocations: 40.22 kB / 1.029 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.6798, allocations: 0.54 MB / 1.03 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.6803, allocations: 0.7641 MB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.6806, allocations: 34.28 kB / 1.031 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.6807, allocations: 27.44 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6807, allocations: 0 / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of Templates: time 0.01116/0.6919, allocations: 3.008 MB / 1.034 GB, free: 1.062 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=400 -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