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.0008842/0.0008842, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.0009084/0.0009084, allocations: 217 kB / 23 MB, free: 2.988 MB / 13.93 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.015/1.015, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] 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 2.455/2.455, allocations: 0.5569 GB / 0.8628 GB, free: 29.36 MB / 0.6667 GB " [Timeout remaining time 177] 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 0.0009783/0.0009783, allocations: 64.98 kB / 1.255 GB, free: 22.34 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3241, allocations: 193.6 MB / 1.444 GB, free: 9.117 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.002701/0.3268, allocations: 1.998 MB / 1.446 GB, free: 7.102 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.000884/0.3277, allocations: 0.6975 MB / 1.447 GB, free: 6.398 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3278, allocations: 7.938 kB / 1.447 GB, free: 6.391 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.328, allocations: 31.61 kB / 1.447 GB, free: 6.359 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 8.269e-05/0.328, allocations: 39.59 kB / 1.447 GB, free: 6.32 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.3284, allocations: 167.7 kB / 1.447 GB, free: 6.156 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.3287, allocations: 411.2 kB / 1.448 GB, free: 5.754 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.329, allocations: 205.7 kB / 1.448 GB, free: 5.551 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.3291, allocations: 131.6 kB / 1.448 GB, free: 5.422 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.3292, allocations: 135.3 kB / 1.448 GB, free: 5.289 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 3.559e-05/0.3293, allocations: 40 kB / 1.448 GB, free: 5.25 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 6.428e-05/0.3293, allocations: 44 kB / 1.448 GB, free: 5.207 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.3294, allocations: 83.75 kB / 1.448 GB, free: 5.125 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.3295, allocations: 123.4 kB / 1.448 GB, free: 5.004 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.3298, allocations: 454.2 kB / 1.449 GB, free: 4.559 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3298, allocations: 0 / 1.449 GB, free: 4.559 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3298, allocations: 7.938 kB / 1.449 GB, free: 4.551 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.3298, allocations: 0 / 1.449 GB, free: 4.551 MB / 1.12 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.0006968/0.3305, allocations: 0.5274 MB / 1.449 GB, free: 3.988 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3306, allocations: 8.031 kB / 1.449 GB, free: 3.98 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3308, allocations: 52.72 kB / 1.449 GB, free: 3.93 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.331, allocations: 210 kB / 1.45 GB, free: 3.699 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.3311, allocations: 29.03 kB / 1.45 GB, free: 3.672 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.3311, allocations: 36.36 kB / 1.45 GB, free: 3.637 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004273/0.3315, allocations: 341.3 kB / 1.45 GB, free: 3.289 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3315, allocations: 0 / 1.45 GB, free: 3.289 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3315, allocations: 8 kB / 1.45 GB, free: 3.281 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3316, allocations: 8 kB / 1.45 GB, free: 3.273 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.3319, allocations: 250.4 kB / 1.45 GB, free: 3.031 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.3328, allocations: 0.7619 MB / 1.451 GB, free: 2.23 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.3332, allocations: 254.8 kB / 1.451 GB, free: 1.973 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3333, allocations: 116.8 kB / 1.451 GB, free: 1.855 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.3333, allocations: 0 / 1.451 GB, free: 1.855 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.3336, allocations: 171.8 kB / 1.452 GB, free: 1.676 MB / 1.12 GB Notification: Performance of pre-optimization done (n=32): time 1.513e-06/0.3336, allocations: 0 / 1.452 GB, free: 1.676 MB / 1.12 GB Notification: Performance of matching and sorting (n=32): time 0.0005284/0.3341, allocations: 357.4 kB / 1.452 GB, free: 1.32 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002933/0.3344, allocations: 67.33 kB / 1.452 GB, free: 1.242 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3345, allocations: 195.8 kB / 1.452 GB, free: 1.035 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.3346, allocations: 41.7 kB / 1.452 GB, free: 0.9883 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.3346, allocations: 152.8 kB / 1.452 GB, free: 0.8359 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.3347, allocations: 87.31 kB / 1.452 GB, free: 0.75 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.081e-05/0.3348, allocations: 90.11 kB / 1.452 GB, free: 0.6562 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.3349, allocations: 330.8 kB / 1.453 GB, free: 332 kB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.335, allocations: 134.5 kB / 1.453 GB, free: 192 kB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3352, allocations: 195 kB / 1.453 GB, free: 15.97 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3355, allocations: 262.6 kB / 1.453 GB, free: 15.69 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3355, allocations: 0 / 1.453 GB, free: 15.69 MB / 1.135 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004163/0.3359, allocations: 396.8 kB / 1.454 GB, free: 15.29 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.336, allocations: 41.69 kB / 1.454 GB, free: 15.24 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.336, allocations: 0 / 1.454 GB, free: 15.24 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.336, allocations: 4 kB / 1.454 GB, free: 15.23 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.3361, allocations: 43.86 kB / 1.454 GB, free: 15.19 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3361, allocations: 7.984 kB / 1.454 GB, free: 15.18 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3362, allocations: 47.75 kB / 1.454 GB, free: 15.14 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3362, allocations: 20 kB / 1.454 GB, free: 15.12 MB / 1.135 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.0001174/0.3364, allocations: 173.7 kB / 1.454 GB, free: 14.94 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.3364, allocations: 19.91 kB / 1.454 GB, free: 14.92 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.3364, allocations: 26.64 kB / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3364, allocations: 7.984 kB / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3364, allocations: 0 / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3364, allocations: 0 / 1.454 GB, free: 14.89 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.3371, allocations: 0.6276 MB / 1.455 GB, free: 14.22 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3371, allocations: 0 / 1.455 GB, free: 14.22 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.3371, allocations: 31.92 kB / 1.455 GB, free: 14.19 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3371, allocations: 7.984 kB / 1.455 GB, free: 14.18 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3372, allocations: 4 kB / 1.455 GB, free: 14.18 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3372, allocations: 7.875 kB / 1.455 GB, free: 14.17 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3372, allocations: 0 / 1.455 GB, free: 14.17 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.3375, allocations: 377.5 kB / 1.455 GB, free: 13.79 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.3375, allocations: 23.83 kB / 1.455 GB, free: 13.77 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.3375, allocations: 8 kB / 1.455 GB, free: 13.76 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/0.3376, allocations: 31.97 kB / 1.455 GB, free: 13.73 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.3377, allocations: 39.88 kB / 1.455 GB, free: 13.69 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3377, allocations: 12 kB / 1.455 GB, free: 13.68 MB / 1.135 GB Notification: Performance of sorting global known variables: time 6.281e-05/0.3378, allocations: 116 kB / 1.455 GB, free: 13.56 MB / 1.135 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3378, allocations: 4 kB / 1.455 GB, free: 13.56 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002072/0.338, allocations: 71.83 kB / 1.455 GB, free: 13.49 MB / 1.135 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 9.832e-05/0.3381, allocations: 117.1 kB / 1.456 GB, free: 13.36 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.3385, allocations: 345 kB / 1.456 GB, free: 13.01 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3385, allocations: 320 / 1.456 GB, free: 13.01 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3387, allocations: 119.9 kB / 1.456 GB, free: 12.89 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.3389, allocations: 31.16 kB / 1.456 GB, free: 12.86 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005841/0.3395, allocations: 486.2 kB / 1.456 GB, free: 12.36 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.3396, allocations: 150.7 kB / 1.457 GB, free: 12.19 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.3396, allocations: 23.44 kB / 1.457 GB, free: 12.17 MB / 1.135 GB Notification: Performance of SimCode: time 3.41e-07/0.3397, allocations: 0 / 1.457 GB, free: 12.17 MB / 1.135 GB Notification: Performance of Templates: time 0.003646/0.3433, allocations: 3.326 MB / 1.46 GB, free: 8.859 MB / 1.135 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 -emit_protected > 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.471143628994469]