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.001906/0.001906, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002532/0.002532, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.299/3.299, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.002065/0.002065, allocations: 63.39 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3588, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003781/0.3626, allocations: 1.98 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.364, allocations: 0.7053 MB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.3641, allocations: 4 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001516/0.3643, allocations: 39.55 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.3644, allocations: 35.66 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.3648, allocations: 167.8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.3654, allocations: 415.2 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003562/0.3657, allocations: 208.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.3659, allocations: 139.5 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.3661, allocations: 151.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.233e-05/0.3662, allocations: 40 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.3663, allocations: 40 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.65e-05/0.3664, allocations: 83.77 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.3665, allocations: 131.4 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.367, allocations: 434.4 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.367, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.367, allocations: 0 / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.367, allocations: 0 / 1.332 GB, free: 12.43 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.001105/0.3681, allocations: 0.539 MB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3682, allocations: 12.03 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.3685, allocations: 44.69 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.3689, allocations: 215.7 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.967e-05/0.369, allocations: 29.03 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.369, allocations: 28.38 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007816/0.3698, allocations: 337.4 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3698, allocations: 0 / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/0.3699, allocations: 15.94 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.3699, allocations: 11.98 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006338/0.3705, allocations: 246.5 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.3724, allocations: 0.7657 MB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007768/0.3732, allocations: 257 kB / 1.334 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.3734, allocations: 108.8 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3735, allocations: 4 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.374, allocations: 175.8 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of pre-optimization done (n=32): time 2.525e-06/0.374, allocations: 0 / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of matching and sorting (n=32): time 0.00095/0.3749, allocations: 357.3 kB / 1.335 GB, free: 9.188 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/0.375, allocations: 55.41 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3753, allocations: 192.6 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/0.3754, allocations: 37.7 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.3755, allocations: 160.7 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.3756, allocations: 87.36 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3757, allocations: 78.12 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.3759, allocations: 338.8 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3762, allocations: 138.5 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.3766, allocations: 191.2 kB / 1.336 GB, free: 7.852 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/0.3771, allocations: 267.2 kB / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3771, allocations: 0 / 1.336 GB, free: 7.566 MB / 1.029 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007729/0.3779, allocations: 404.4 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.3779, allocations: 33.64 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.378, allocations: 4 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.378, allocations: 4 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3782, allocations: 43.91 kB / 1.336 GB, free: 7.062 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.3782, allocations: 4 kB / 1.336 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.3785, allocations: 63.89 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.3785, allocations: 8 kB / 1.337 GB, free: 6.988 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.0002502/0.3788, allocations: 181.6 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.3788, allocations: 23.84 kB / 1.337 GB, free: 6.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.3789, allocations: 26.66 kB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.3789, allocations: 8 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3789, allocations: 0 / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.379, allocations: 3.984 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.3801, allocations: 0.6169 MB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3801, allocations: 4 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.3803, allocations: 19.98 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3803, allocations: 4 kB / 1.337 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3803, allocations: 4 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.3803, allocations: 8 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3803, allocations: 3.938 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.3809, allocations: 368.5 kB / 1.338 GB, free: 5.668 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-05/0.3809, allocations: 19.8 kB / 1.338 GB, free: 5.648 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.381, allocations: 8 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.3812, allocations: 35.95 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3813, allocations: 47.88 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3813, allocations: 4 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001073/0.3815, allocations: 120 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3815, allocations: 0 / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003637/0.3818, allocations: 71.78 kB / 1.338 GB, free: 5.367 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.0001735/0.382, allocations: 125.2 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007306/0.3827, allocations: 340.8 kB / 1.339 GB, free: 4.883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3827, allocations: 7.938 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.383, allocations: 115.8 kB / 1.339 GB, free: 4.762 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3834, allocations: 33.23 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.3844, allocations: 451.4 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001616/0.3845, allocations: 154.7 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001234/0.3847, allocations: 30.28 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.3848, allocations: 23.44 kB / 1.339 GB, free: 4.039 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.3848, allocations: 4 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of Templates: time 0.007936/0.3927, allocations: 3.114 MB / 1.342 GB, free: 0.9531 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 -s cvode -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: 9.738176735001616]