Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001953/0.001953, allocations: 214 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.226/3.226, allocations: 0.4892 GB / 0.7951 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 74.98 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3626, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003808/0.3664, allocations: 1.981 MB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.3679, allocations: 0.6896 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3681, allocations: 11.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.3683, allocations: 35.61 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3684, allocations: 47.53 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.369, allocations: 167.7 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.3695, allocations: 407.3 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.3698, allocations: 196.5 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.37, allocations: 135.6 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.3702, allocations: 135.3 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.3703, allocations: 40 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.313e-05/0.3704, allocations: 48 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.3705, allocations: 83.75 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3706, allocations: 115.5 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.3711, allocations: 438.3 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3711, allocations: 3.984 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3711, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.3711, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 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.0009641/0.3721, allocations: 0.539 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3721, allocations: 8.031 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.3724, allocations: 52.67 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.3728, allocations: 207.9 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.3729, allocations: 29.03 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.769e-05/0.3729, allocations: 36.38 kB / 1.332 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006653/0.3736, allocations: 329.4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3736, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.3737, allocations: 19.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3737, allocations: 8 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3743, allocations: 246.4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.3757, allocations: 0.7735 MB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.3764, allocations: 250.8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.3766, allocations: 108.8 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3766, allocations: 4 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003957/0.377, allocations: 183.8 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.377, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.000848/0.3779, allocations: 345.4 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3779, allocations: 71.33 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.3781, allocations: 179.9 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.3782, allocations: 49.64 kB / 1.334 GB, free: 9.773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.3783, allocations: 156.7 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.738e-05/0.3784, allocations: 87.36 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.3785, allocations: 86.12 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3787, allocations: 330.8 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.3789, allocations: 134.5 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.3793, allocations: 191.2 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005053/0.3798, allocations: 271.2 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3798, allocations: 0 / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000764/0.3805, allocations: 400.4 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.3806, allocations: 31.73 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3806, allocations: 4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3806, allocations: 8.156 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.3808, allocations: 47.84 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3808, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.3811, allocations: 59.69 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.3811, allocations: 12 kB / 1.336 GB, free: 7.895 MB / 1.029 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.0002086/0.3813, allocations: 185.7 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.3813, allocations: 15.91 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3814, allocations: 26.66 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3814, allocations: 4 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3814, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3814, allocations: 3.984 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3825, allocations: 0.6169 MB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3825, allocations: 4 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.3827, allocations: 31.92 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3827, allocations: 0 / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3827, allocations: 11.98 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3827, allocations: 0 / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3827, allocations: 0 / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.3833, allocations: 372.4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.3833, allocations: 23.84 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.3834, allocations: 4 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.3836, allocations: 35.95 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.3837, allocations: 43.88 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3837, allocations: 8 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001118/0.3839, allocations: 123.9 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.3839, allocations: 0 / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003331/0.3842, allocations: 71.78 kB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.active,wseCon.off.active,$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 (32): * Single equations (assignments): 26 * 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.0001655/0.3844, allocations: 129.2 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006972/0.3851, allocations: 340.8 kB / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3851, allocations: 0 / 1.338 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002665/0.3853, allocations: 111.9 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.3857, allocations: 40.22 kB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009424/0.3866, allocations: 475.2 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001629/0.3868, allocations: 146.7 kB / 1.338 GB, free: 4.973 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.432e-05/0.3869, allocations: 31.42 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3869, allocations: 0 / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of Templates: time 0.006092/0.393, allocations: 3.317 MB / 1.342 GB, free: 1.633 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.604873390402645]