Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001939/0.001939, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.002469/0.002469, allocations: 167.6 kB / 22.46 MB, free: 5.359 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.516/1.516, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.881/2.881, allocations: 389 MB / 0.633 GB, free: 1.039 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/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.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.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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 1 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.954e-05, allocations: 2.281 kB / 1 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.003499/0.003528, allocations: 2.01 MB / 1.002 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.004964, allocations: 0.6973 MB / 1.003 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.005128, allocations: 4 kB / 1.003 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.005297, allocations: 35.61 kB / 1.003 GB, free: 3.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.005451, allocations: 43.58 kB / 1.003 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.005957, allocations: 167.6 kB / 1.003 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005648/0.006521, allocations: 419.1 kB / 1.003 GB, free: 2.879 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.006909, allocations: 193.5 kB / 1.004 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.007208, allocations: 215.6 kB / 1.004 GB, free: 2.477 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.007408, allocations: 111.7 kB / 1.004 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.019e-05/0.007488, allocations: 40 kB / 1.004 GB, free: 2.328 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.603e-05/0.007584, allocations: 40 kB / 1.004 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.654e-05/0.00768, allocations: 83.73 kB / 1.004 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001413/0.007822, allocations: 103.7 kB / 1.004 GB, free: 2.105 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005494/0.008371, allocations: 446.6 kB / 1.005 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.008375, allocations: 0 / 1.005 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008376, allocations: 11.88 kB / 1.005 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.008387, allocations: 0 / 1.005 GB, free: 1.656 MB / 0.9044 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.001078/0.009466, allocations: 0.5313 MB / 1.005 GB, free: 1.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.009501, allocations: 11.98 kB / 1.005 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002919/0.009793, allocations: 44.73 kB / 1.005 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.01019, allocations: 214 kB / 1.005 GB, free: 0.8008 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.01024, allocations: 28.97 kB / 1.005 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.01029, allocations: 40.31 kB / 1.005 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007021/0.01099, allocations: 325.6 kB / 1.006 GB, free: 412 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.01101, allocations: 4.188 kB / 1.006 GB, free: 408 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.01104, allocations: 12.38 kB / 1.006 GB, free: 396 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.01106, allocations: 15.92 kB / 1.006 GB, free: 380 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006289/0.01169, allocations: 250.5 kB / 1.006 GB, free: 132 kB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.01309, allocations: 0.7579 MB / 1.007 GB, free: 15.33 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.01376, allocations: 250.9 kB / 1.007 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.01402, allocations: 104.8 kB / 1.007 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.01404, allocations: 4 kB / 1.007 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004054/0.01445, allocations: 199.6 kB / 1.007 GB, free: 14.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.01445, allocations: 0 / 1.007 GB, free: 14.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=32): time 0.0008665/0.01532, allocations: 345.4 kB / 1.008 GB, free: 14.42 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.01537, allocations: 55.41 kB / 1.008 GB, free: 14.35 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.01555, allocations: 191.1 kB / 1.008 GB, free: 14.15 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/0.01559, allocations: 41.7 kB / 1.008 GB, free: 14.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.01571, allocations: 156.7 kB / 1.008 GB, free: 13.95 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.01579, allocations: 95.31 kB / 1.008 GB, free: 13.85 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.01592, allocations: 86.12 kB / 1.008 GB, free: 13.76 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01607, allocations: 334.8 kB / 1.009 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.01637, allocations: 134.6 kB / 1.009 GB, free: 13.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.01671, allocations: 199.8 kB / 1.009 GB, free: 13.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.01724, allocations: 258.5 kB / 1.009 GB, free: 12.79 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01724, allocations: 0 / 1.009 GB, free: 12.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00074/0.01798, allocations: 396.6 kB / 1.009 GB, free: 12.39 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.01802, allocations: 33.7 kB / 1.009 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01802, allocations: 0 / 1.009 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.01804, allocations: 8.156 kB / 1.01 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.01825, allocations: 47.84 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.01826, allocations: 4 kB / 1.01 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.01852, allocations: 51.75 kB / 1.01 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.01855, allocations: 23.92 kB / 1.01 GB, free: 12.21 MB / 0.92 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.0001812/0.01873, allocations: 170.4 kB / 1.01 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.01877, allocations: 23.8 kB / 1.01 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.622e-05/0.01884, allocations: 34.64 kB / 1.01 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01885, allocations: 7.938 kB / 1.01 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01885, allocations: 0 / 1.01 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01886, allocations: 0 / 1.01 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.01992, allocations: 0.6169 MB / 1.01 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01993, allocations: 4 kB / 1.01 GB, free: 11.32 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.02007, allocations: 31.91 kB / 1.01 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.02007, allocations: 0 / 1.01 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.0201, allocations: 8 kB / 1.01 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.0201, allocations: 0 / 1.01 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.0201, allocations: 0 / 1.01 GB, free: 11.28 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.02071, allocations: 368.5 kB / 1.011 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.132e-05/0.02074, allocations: 23.8 kB / 1.011 GB, free: 10.88 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.02077, allocations: 8 kB / 1.011 GB, free: 10.87 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.02105, allocations: 35.95 kB / 1.011 GB, free: 10.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.02116, allocations: 39.88 kB / 1.011 GB, free: 10.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.02118, allocations: 12 kB / 1.011 GB, free: 10.79 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.2e-05/0.02127, allocations: 116 kB / 1.011 GB, free: 10.67 MB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.02128, allocations: 0 / 1.011 GB, free: 10.67 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003224/0.0216, allocations: 63.89 kB / 1.011 GB, free: 10.61 MB / 0.92 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.0001459/0.02174, allocations: 117.2 kB / 1.011 GB, free: 10.49 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.02243, allocations: 349.1 kB / 1.012 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02244, allocations: 3.938 kB / 1.012 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.02273, allocations: 111.9 kB / 1.012 GB, free: 10.02 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.02307, allocations: 40.28 kB / 1.012 GB, free: 9.977 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008767/0.02395, allocations: 452 kB / 1.012 GB, free: 9.512 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.0241, allocations: 150.8 kB / 1.012 GB, free: 9.344 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.568e-05/0.0242, allocations: 18.3 kB / 1.012 GB, free: 9.324 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.02429, allocations: 32.48 kB / 1.012 GB, free: 9.293 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.02429, allocations: 0 / 1.012 GB, free: 9.293 MB / 0.92 GB Notification: Performance of Templates: time 0.006982/0.03127, allocations: 2.919 MB / 1.015 GB, free: 6.414 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.000922545790672]