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.0007827/0.0007827, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.000782/0.000782, 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.8388/0.8388, allocations: 177.2 MB / 203.5 MB, free: 5.711 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.68/1.68, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.385e-05, allocations: 5.234 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002236/0.00226, allocations: 1.994 MB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.003112, allocations: 0.6974 MB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.00321, allocations: 7.938 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.003333, allocations: 31.61 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.003405, allocations: 43.58 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.003747, allocations: 163.7 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.004066, allocations: 415.1 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.004304, allocations: 204.6 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.004463, allocations: 207.6 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.004577, allocations: 107.7 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.004612, allocations: 40 kB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-05/0.004675, allocations: 47.94 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.004732, allocations: 79.8 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.004806, allocations: 107.7 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.005136, allocations: 450.6 kB / 1.005 GB, free: 8.43 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005138, allocations: 3.938 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.005139, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.005143, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 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.0006046/0.005748, allocations: 0.5274 MB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.005778, allocations: 12.03 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.005954, allocations: 40.73 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.006197, allocations: 217.9 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.006225, allocations: 29.03 kB / 1.006 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.006257, allocations: 32.38 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.006648, allocations: 329.6 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.006658, allocations: 192 / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.006679, allocations: 12.38 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.006687, allocations: 11.94 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.007011, allocations: 250.4 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.007826, allocations: 0.7852 MB / 1.008 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.008175, allocations: 248.9 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.008305, allocations: 108.7 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.008323, allocations: 4 kB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.008551, allocations: 179.2 kB / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.008552, allocations: 0 / 1.008 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32): time 0.0004694/0.009022, allocations: 354.2 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.009055, allocations: 59.39 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.009162, allocations: 195.1 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.009187, allocations: 37.7 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.009263, allocations: 160.7 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.009312, allocations: 87.33 kB / 1.009 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.00939, allocations: 86.17 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.00947, allocations: 334.8 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.00963, allocations: 134.6 kB / 1.009 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.009895, allocations: 195.8 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.01016, allocations: 258.4 kB / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.01016, allocations: 0 / 1.01 GB, free: 3.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003775/0.01054, allocations: 404.6 kB / 1.01 GB, free: 3.152 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.01057, allocations: 33.7 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01057, allocations: 4 kB / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.01059, allocations: 0 / 1.01 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.01069, allocations: 39.91 kB / 1.01 GB, free: 3.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01069, allocations: 4 kB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01081, allocations: 59.91 kB / 1.01 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01082, allocations: 15.98 kB / 1.01 GB, free: 2.992 MB / 0.9636 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.0001123/0.01094, allocations: 165.8 kB / 1.011 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.01096, allocations: 23.8 kB / 1.011 GB, free: 2.797 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.01099, allocations: 34.64 kB / 1.011 GB, free: 2.762 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.011, allocations: 4 kB / 1.011 GB, free: 2.758 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.011, allocations: 7.938 kB / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.011, allocations: 0 / 1.011 GB, free: 2.75 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.01158, allocations: 0.6213 MB / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01158, allocations: 0 / 1.011 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.01164, allocations: 31.97 kB / 1.011 GB, free: 2.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.01164, allocations: 4 kB / 1.011 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01165, allocations: 7.938 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01166, allocations: 8 kB / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01166, allocations: 0 / 1.011 GB, free: 2.043 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.01196, allocations: 368.5 kB / 1.012 GB, free: 1.664 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.01197, allocations: 19.8 kB / 1.012 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.012, allocations: 12 kB / 1.012 GB, free: 1.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.0121, allocations: 31.95 kB / 1.012 GB, free: 1.602 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.01217, allocations: 51.88 kB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.01218, allocations: 4 kB / 1.012 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.01223, allocations: 120.9 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01223, allocations: 0 / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001881/0.01242, allocations: 63.89 kB / 1.012 GB, free: 1.367 MB / 0.9636 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.634e-05/0.01251, allocations: 113.2 kB / 1.012 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.01288, allocations: 349.1 kB / 1.012 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01288, allocations: 0 / 1.012 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.01302, allocations: 115.9 kB / 1.012 GB, free: 0.7773 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01323, allocations: 27.89 kB / 1.012 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.01375, allocations: 478 kB / 1.013 GB, free: 256 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.01384, allocations: 146.8 kB / 1.013 GB, free: 84 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.03e-05/0.0139, allocations: 28.5 kB / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.0139, allocations: 0 / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of Templates: time 0.003209/0.01711, allocations: 3.331 MB / 1.016 GB, free: 12.73 MB / 0.9792 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: 6.321154419332743]