Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001823/0.001823, allocations: 72.45 kB / 19.17 MB, free: 0.7266 MB / 13.93 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.00225/0.00225, allocations: 169.9 kB / 22.46 MB, free: 2.086 MB / 18.57 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.17/3.17, allocations: 429.6 MB / 0.6726 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.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_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.DataCenter.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_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 1.066 GB, free: 32.66 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.568e-05, allocations: 9.453 kB / 1.066 GB, free: 32.66 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002457/0.002483, allocations: 2.001 MB / 1.068 GB, free: 31.31 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.003453, allocations: 0.7036 MB / 1.069 GB, free: 30.82 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.003557, allocations: 3.031 kB / 1.069 GB, free: 30.82 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.003682, allocations: 39.23 kB / 1.069 GB, free: 30.79 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.00377, allocations: 37.8 kB / 1.069 GB, free: 30.76 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.004133, allocations: 166.2 kB / 1.069 GB, free: 30.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.004471, allocations: 412.3 kB / 1.069 GB, free: 30.46 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002476/0.004718, allocations: 199.9 kB / 1.07 GB, free: 30.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.004906, allocations: 217.2 kB / 1.07 GB, free: 30.27 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.005041, allocations: 112.6 kB / 1.07 GB, free: 30.21 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.005086, allocations: 40.94 kB / 1.07 GB, free: 30.21 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.005154, allocations: 42.03 kB / 1.07 GB, free: 30.21 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.005218, allocations: 84.27 kB / 1.07 GB, free: 30.16 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 8.461e-05/0.005303, allocations: 101.1 kB / 1.07 GB, free: 30.1 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.00565, allocations: 464.2 kB / 1.071 GB, free: 29.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005653, allocations: 0 / 1.071 GB, free: 29.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.11e-07/0.005653, allocations: 0 / 1.071 GB, free: 29.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.00566, allocations: 4 kB / 1.071 GB, free: 29.91 MB / 1.01 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.0007821/0.006442, allocations: 0.5339 MB / 1.071 GB, free: 29.47 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.006473, allocations: 8.156 kB / 1.071 GB, free: 29.47 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.006717, allocations: 46.06 kB / 1.071 GB, free: 29.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.007021, allocations: 214.2 kB / 1.071 GB, free: 29.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.007056, allocations: 27.41 kB / 1.071 GB, free: 29.25 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.0071, allocations: 35.31 kB / 1.071 GB, free: 29.24 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.007666, allocations: 335.7 kB / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.007679, allocations: 192 / 1.072 GB, free: 29.09 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.007709, allocations: 22.47 kB / 1.072 GB, free: 29.07 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.007717, allocations: 12.38 kB / 1.072 GB, free: 29.07 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.008211, allocations: 240 kB / 1.072 GB, free: 28.98 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.009282, allocations: 0.7718 MB / 1.073 GB, free: 28.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.00983, allocations: 245.2 kB / 1.073 GB, free: 28.36 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.01004, allocations: 106.3 kB / 1.073 GB, free: 28.31 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.01007, allocations: 2.812 kB / 1.073 GB, free: 28.31 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.01039, allocations: 181.9 kB / 1.073 GB, free: 28.22 MB / 1.01 GB Notification: Performance of pre-optimization done (n=32): time 1.562e-06/0.0104, allocations: 0 / 1.073 GB, free: 28.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.0007332/0.01113, allocations: 356.8 kB / 1.074 GB, free: 28.08 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.01116, allocations: 56.69 kB / 1.074 GB, free: 28.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.0113, allocations: 185.9 kB / 1.074 GB, free: 27.88 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.01133, allocations: 45.84 kB / 1.074 GB, free: 27.83 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.0114, allocations: 164 kB / 1.074 GB, free: 27.69 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.01144, allocations: 83.61 kB / 1.074 GB, free: 27.62 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.01154, allocations: 85.8 kB / 1.074 GB, free: 27.58 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.0116, allocations: 334.9 kB / 1.074 GB, free: 27.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.01184, allocations: 136.5 kB / 1.075 GB, free: 27.19 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.01209, allocations: 198.3 kB / 1.075 GB, free: 27.06 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.01249, allocations: 258.5 kB / 1.075 GB, free: 26.9 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.0125, allocations: 3.375 kB / 1.075 GB, free: 26.9 MB / 1.01 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005863/0.01308, allocations: 392.3 kB / 1.075 GB, free: 26.69 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.01311, allocations: 38.81 kB / 1.075 GB, free: 26.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.01311, allocations: 2.938 kB / 1.075 GB, free: 26.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01313, allocations: 3.031 kB / 1.075 GB, free: 26.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.01332, allocations: 42.81 kB / 1.075 GB, free: 26.65 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01333, allocations: 6.5 kB / 1.075 GB, free: 26.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002238/0.01355, allocations: 58.23 kB / 1.076 GB, free: 26.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.01357, allocations: 13.59 kB / 1.076 GB, free: 26.61 MB / 1.01 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.0001207/0.01369, allocations: 177 kB / 1.076 GB, free: 26.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.01372, allocations: 20.72 kB / 1.076 GB, free: 26.45 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.01378, allocations: 32.83 kB / 1.076 GB, free: 26.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01378, allocations: 6.656 kB / 1.076 GB, free: 26.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01379, allocations: 0 / 1.076 GB, free: 26.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01379, allocations: 6.234 kB / 1.076 GB, free: 26.43 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008388/0.01463, allocations: 0.6176 MB / 1.076 GB, free: 26.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01464, allocations: 0 / 1.076 GB, free: 26.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.01477, allocations: 32.22 kB / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.01477, allocations: 2.938 kB / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.01479, allocations: 2.906 kB / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.01479, allocations: 0 / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01479, allocations: 0 / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.01526, allocations: 375.4 kB / 1.077 GB, free: 25.81 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 2.152e-05/0.01529, allocations: 21.69 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.01532, allocations: 10.19 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.01554, allocations: 30.88 kB / 1.077 GB, free: 25.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/0.01563, allocations: 46.91 kB / 1.077 GB, free: 25.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.01565, allocations: 5.688 kB / 1.077 GB, free: 25.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.539e-05/0.0157, allocations: 116.8 kB / 1.077 GB, free: 25.68 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.0157, allocations: 0 / 1.077 GB, free: 25.68 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003187/0.01602, allocations: 76.66 kB / 1.077 GB, free: 25.66 MB / 1.01 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.0001098/0.01613, allocations: 118.9 kB / 1.077 GB, free: 25.55 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.01668, allocations: 345.4 kB / 1.078 GB, free: 25.38 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01668, allocations: 0 / 1.078 GB, free: 25.38 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.01692, allocations: 133 kB / 1.078 GB, free: 25.33 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.01725, allocations: 26.84 kB / 1.078 GB, free: 25.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.01794, allocations: 447.5 kB / 1.078 GB, free: 25.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.01805, allocations: 145.7 kB / 1.078 GB, free: 24.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.148e-05/0.01814, allocations: 26.3 kB / 1.078 GB, free: 24.95 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.01821, allocations: 30.45 kB / 1.078 GB, free: 24.94 MB / 1.01 GB Notification: Performance of SimCode: time 5.41e-07/0.01821, allocations: 0 / 1.078 GB, free: 24.94 MB / 1.01 GB Notification: Performance of Templates: time 0.005751/0.02396, allocations: 2.926 MB / 1.081 GB, free: 24.62 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 8.915861469024094]