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.0008365/0.0008365, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008706/0.0008706, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.9036/0.9036, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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 1.925/1.925, allocations: 429.6 MB / 0.6733 GB, free: 4.051 MB / 0.6355 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 2.615e-06/2.615e-06, allocations: 2.406 kB / 1.066 GB, free: 33.36 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.3e-05, allocations: 2.281 kB / 1.066 GB, free: 33.36 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.WSEControl): time 0.001974/0.001997, allocations: 1.996 MB / 1.068 GB, free: 32.02 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.002837, allocations: 0.7074 MB / 1.069 GB, free: 31.53 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.002942, allocations: 2.969 kB / 1.069 GB, free: 31.53 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.003064, allocations: 37.55 kB / 1.069 GB, free: 31.5 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 6.957e-05/0.003134, allocations: 41.12 kB / 1.069 GB, free: 31.46 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.00347, allocations: 169.8 kB / 1.069 GB, free: 31.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.003747, allocations: 416.7 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.003972, allocations: 194.4 kB / 1.069 GB, free: 31.08 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.004134, allocations: 210.6 kB / 1.07 GB, free: 30.97 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.004241, allocations: 108.7 kB / 1.07 GB, free: 30.93 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.004276, allocations: 40.19 kB / 1.07 GB, free: 30.93 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 6.209e-05/0.004338, allocations: 47.22 kB / 1.07 GB, free: 30.92 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.004391, allocations: 84.17 kB / 1.07 GB, free: 30.86 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 6.907e-05/0.00446, allocations: 98.38 kB / 1.07 GB, free: 30.81 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.004748, allocations: 470.7 kB / 1.07 GB, free: 30.61 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.00475, allocations: 0 / 1.07 GB, free: 30.61 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.91e-07/0.004751, allocations: 0 / 1.07 GB, free: 30.61 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004756, allocations: 3 kB / 1.07 GB, free: 30.61 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.0006476/0.005404, allocations: 0.5326 MB / 1.071 GB, free: 30.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.005441, allocations: 8.594 kB / 1.071 GB, free: 30.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.005623, allocations: 50.02 kB / 1.071 GB, free: 30.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.005842, allocations: 211.2 kB / 1.071 GB, free: 29.97 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.005873, allocations: 32.16 kB / 1.071 GB, free: 29.95 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.005901, allocations: 35.75 kB / 1.071 GB, free: 29.94 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.00628, allocations: 337.4 kB / 1.072 GB, free: 29.79 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.006292, allocations: 192 / 1.072 GB, free: 29.79 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.006312, allocations: 11.03 kB / 1.072 GB, free: 29.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.00632, allocations: 12.03 kB / 1.072 GB, free: 29.77 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003121/0.006632, allocations: 253.3 kB / 1.072 GB, free: 29.68 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.007385, allocations: 0.7744 MB / 1.073 GB, free: 29.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003411/0.007726, allocations: 243.1 kB / 1.073 GB, free: 29.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.007856, allocations: 109.7 kB / 1.073 GB, free: 29 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.007872, allocations: 2.781 kB / 1.073 GB, free: 29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.008082, allocations: 172.7 kB / 1.073 GB, free: 28.92 MB / 1.01 GB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.008084, allocations: 0 / 1.073 GB, free: 28.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=32): time 0.000461/0.008545, allocations: 361.1 kB / 1.074 GB, free: 28.78 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.00857, allocations: 60.97 kB / 1.074 GB, free: 28.71 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.399e-05/0.008664, allocations: 190.3 kB / 1.074 GB, free: 28.56 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.008686, allocations: 42.95 kB / 1.074 GB, free: 28.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.008744, allocations: 155.3 kB / 1.074 GB, free: 28.39 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.008778, allocations: 84.67 kB / 1.074 GB, free: 28.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.008851, allocations: 92.33 kB / 1.074 GB, free: 28.27 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.008888, allocations: 331.6 kB / 1.074 GB, free: 27.95 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.009039, allocations: 140.7 kB / 1.075 GB, free: 27.88 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.009196, allocations: 191 kB / 1.075 GB, free: 27.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.009437, allocations: 262.3 kB / 1.075 GB, free: 27.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.00944, allocations: 0 / 1.075 GB, free: 27.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003568/0.009796, allocations: 394.9 kB / 1.075 GB, free: 27.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.009818, allocations: 31.73 kB / 1.075 GB, free: 27.36 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.009823, allocations: 3 kB / 1.075 GB, free: 27.36 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.009838, allocations: 2.938 kB / 1.075 GB, free: 27.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.009948, allocations: 48.45 kB / 1.075 GB, free: 27.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.009954, allocations: 5.594 kB / 1.075 GB, free: 27.35 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.01007, allocations: 49.52 kB / 1.076 GB, free: 27.33 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01008, allocations: 14.59 kB / 1.076 GB, free: 27.32 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 9.255e-05/0.01017, allocations: 175.2 kB / 1.076 GB, free: 27.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.01019, allocations: 22.56 kB / 1.076 GB, free: 27.16 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/0.01022, allocations: 29.69 kB / 1.076 GB, free: 27.14 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01023, allocations: 2.812 kB / 1.076 GB, free: 27.14 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.01023, allocations: 0 / 1.076 GB, free: 27.14 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.01024, allocations: 3.281 kB / 1.076 GB, free: 27.14 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.01077, allocations: 0.6257 MB / 1.076 GB, free: 26.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01077, allocations: 0 / 1.076 GB, free: 26.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.01083, allocations: 31.06 kB / 1.076 GB, free: 26.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01083, allocations: 6.906 kB / 1.076 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.01084, allocations: 8 kB / 1.076 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01084, allocations: 6.938 kB / 1.076 GB, free: 26.72 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01084, allocations: 0 / 1.076 GB, free: 26.72 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.01113, allocations: 379 kB / 1.077 GB, free: 26.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.01114, allocations: 17.88 kB / 1.077 GB, free: 26.49 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01116, allocations: 6.938 kB / 1.077 GB, free: 26.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01127, allocations: 32.34 kB / 1.077 GB, free: 26.48 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.741e-05/0.01134, allocations: 43.08 kB / 1.077 GB, free: 26.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.01136, allocations: 9.844 kB / 1.077 GB, free: 26.46 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.0114, allocations: 117.2 kB / 1.077 GB, free: 26.38 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.0114, allocations: 0 / 1.077 GB, free: 26.38 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001933/0.01159, allocations: 70.3 kB / 1.077 GB, free: 26.36 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 8.566e-05/0.01167, allocations: 116.2 kB / 1.077 GB, free: 26.25 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.01202, allocations: 350.5 kB / 1.078 GB, free: 26.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01202, allocations: 0 / 1.078 GB, free: 26.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.01215, allocations: 118.7 kB / 1.078 GB, free: 26.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01237, allocations: 26.55 kB / 1.078 GB, free: 26.03 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.01286, allocations: 478.8 kB / 1.078 GB, free: 25.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.226e-05/0.01293, allocations: 142.9 kB / 1.078 GB, free: 25.64 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.01299, allocations: 30.09 kB / 1.078 GB, free: 25.63 MB / 1.01 GB Notification: Performance of SimCode: time 4.91e-07/0.01299, allocations: 3.938 kB / 1.078 GB, free: 25.62 MB / 1.01 GB Notification: Performance of Templates: time 0.002995/0.01599, allocations: 3.333 MB / 1.082 GB, free: 25.25 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 -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: 7.72771923430264]