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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001576/0.001576, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.473/1.473, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 443.5 MB / 0.7293 GB, free: 14.7 MB / 0.5763 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|wseCon.wseCWST|wseCon.wseCHWST|wseCon.TWetBul|wseCon.y1|wseCon.y2",fileNamePrefix="Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 1.057 GB, free: 2.16 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 160.7 MB / 1.214 GB, free: 1.133 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.00355/0.3321, allocations: 2.029 MB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3334, allocations: 0.6936 MB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3335, allocations: 4 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3337, allocations: 39.55 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.3338, allocations: 43.64 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.3343, allocations: 155.8 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.3347, allocations: 403.2 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.335, allocations: 207.9 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.3352, allocations: 143.5 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3354, allocations: 147.4 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.3355, allocations: 40 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.3356, allocations: 51.98 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.3356, allocations: 75.83 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.3358, allocations: 151.2 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.3363, allocations: 438.3 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3363, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3363, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3363, allocations: 0 / 1.219 GB, free: 12.52 MB / 0.9669 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.001023/0.3373, allocations: 0.6181 MB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3373, allocations: 11.98 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.648e-05/0.3374, allocations: 32.75 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.3378, allocations: 271.8 kB / 1.219 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.3379, allocations: 33.02 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.3379, allocations: 32.38 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.3386, allocations: 337.2 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3386, allocations: 0 / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.3386, allocations: 15.98 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3386, allocations: 8 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.3392, allocations: 250 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3407, allocations: 0.9554 MB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.3414, allocations: 253.3 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3416, allocations: 105.3 kB / 1.221 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/0.3416, allocations: 8 kB / 1.221 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.342, allocations: 183.2 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.342, allocations: 0 / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32): time 0.0008789/0.3429, allocations: 358.6 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.343, allocations: 55.41 kB / 1.222 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3432, allocations: 203.4 kB / 1.222 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/0.3432, allocations: 45.7 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3433, allocations: 148.8 kB / 1.222 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.3434, allocations: 91.3 kB / 1.222 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.3435, allocations: 90.06 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3437, allocations: 338.8 kB / 1.223 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.344, allocations: 108.8 kB / 1.223 GB, free: 7.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003086/0.3443, allocations: 165.5 kB / 1.223 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005019/0.3448, allocations: 258.5 kB / 1.223 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3448, allocations: 3.938 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007181/0.3455, allocations: 366.9 kB / 1.224 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.3455, allocations: 33.7 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3455, allocations: 0 / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3456, allocations: 8.156 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.3458, allocations: 47.91 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3458, allocations: 4 kB / 1.224 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.3461, allocations: 59.73 kB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.3461, allocations: 12 kB / 1.224 GB, free: 6.781 MB / 0.9669 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.0001906/0.3463, allocations: 181.7 kB / 1.224 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.3463, allocations: 19.86 kB / 1.224 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/0.347, allocations: 295.2 kB / 1.224 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.347, allocations: 4 kB / 1.224 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.347, allocations: 0 / 1.224 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.347, allocations: 3.984 kB / 1.224 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.3481, allocations: 0.746 MB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3482, allocations: 0 / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3483, allocations: 31.91 kB / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3483, allocations: 0 / 1.225 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.3483, allocations: 8 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.3483, allocations: 3.938 kB / 1.225 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3483, allocations: 0 / 1.225 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000607/0.3489, allocations: 380.5 kB / 1.225 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.349, allocations: 104.9 kB / 1.226 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.3491, allocations: 8 kB / 1.226 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.3493, allocations: 39.83 kB / 1.226 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3494, allocations: 39.95 kB / 1.226 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.3494, allocations: 12 kB / 1.226 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001111/0.3496, allocations: 131.2 kB / 1.226 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3496, allocations: 3.938 kB / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003403/0.3499, allocations: 67.83 kB / 1.226 GB, free: 4.629 MB / 0.9669 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.0001905/0.3501, allocations: 121.5 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006844/0.3508, allocations: 320.3 kB / 1.226 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3508, allocations: 0 / 1.226 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.3511, allocations: 127.8 kB / 1.226 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3514, allocations: 37.95 kB / 1.226 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.3523, allocations: 0.4899 MB / 1.227 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3527, allocations: 0.7564 MB / 1.228 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/0.3528, allocations: 27.44 kB / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3528, allocations: 0 / 1.228 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.005929/0.3587, allocations: 3.517 MB / 1.231 GB, free: 15.17 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (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) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.739016612060368]