Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000896/0.000896, allocations: 72.5 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.000893/0.000893, allocations: 177.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.8672/0.8672, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.744/1.744, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.421e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.002978/0.003012, allocations: 1.992 MB / 0.9841 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.00392, allocations: 0.6973 MB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004022, allocations: 4 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004155, allocations: 35.61 kB / 0.9849 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.00423, allocations: 43.53 kB / 0.9849 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.004579, allocations: 155.7 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003319/0.004911, allocations: 431 kB / 0.9855 GB, free: 14.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.005163, allocations: 196.6 kB / 0.9856 GB, free: 14.54 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.005338, allocations: 207.6 kB / 0.9858 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.005455, allocations: 107.7 kB / 0.9859 GB, free: 14.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.00549, allocations: 40 kB / 0.986 GB, free: 14.19 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.514e-05/0.005556, allocations: 44 kB / 0.986 GB, free: 14.14 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.27e-05/0.005618, allocations: 87.72 kB / 0.9861 GB, free: 14.06 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.843e-05/0.005697, allocations: 99.73 kB / 0.9862 GB, free: 13.96 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.006044, allocations: 454.6 kB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.006047, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.773e-06/0.006049, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.006054, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 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.0006841/0.006738, allocations: 0.5428 MB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.006774, allocations: 8.031 kB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.006955, allocations: 48.72 kB / 0.9872 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.007197, allocations: 203.8 kB / 0.9874 GB, free: 12.66 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.00723, allocations: 37.02 kB / 0.9875 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.007264, allocations: 36.36 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.007668, allocations: 333.5 kB / 0.9878 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.007679, allocations: 192 / 0.9878 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.0077, allocations: 12.38 kB / 0.9878 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.007708, allocations: 11.94 kB / 0.9878 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.00804, allocations: 242.5 kB / 0.9881 GB, free: 11.99 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.008894, allocations: 0.7775 MB / 0.9888 GB, free: 11.18 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.009255, allocations: 246.9 kB / 0.9891 GB, free: 10.93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.009391, allocations: 104.8 kB / 0.9892 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.009407, allocations: 4 kB / 0.9892 GB, free: 10.82 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.009659, allocations: 191.7 kB / 0.9893 GB, free: 10.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=32): time 2.254e-06/0.009661, allocations: 0 / 0.9893 GB, free: 10.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=32): time 0.0005179/0.01018, allocations: 353.4 kB / 0.9897 GB, free: 10.27 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.01022, allocations: 59.41 kB / 0.9897 GB, free: 10.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.01033, allocations: 179.2 kB / 0.9899 GB, free: 10 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.01035, allocations: 41.7 kB / 0.9899 GB, free: 9.957 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.01044, allocations: 160.6 kB / 0.9901 GB, free: 9.797 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.01048, allocations: 87.31 kB / 0.9902 GB, free: 9.711 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.01057, allocations: 90.17 kB / 0.9903 GB, free: 9.617 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.01066, allocations: 330.8 kB / 0.9906 GB, free: 9.285 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.01082, allocations: 134.6 kB / 0.9907 GB, free: 9.148 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01101, allocations: 203.7 kB / 0.9909 GB, free: 8.926 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.01128, allocations: 259.4 kB / 0.9912 GB, free: 8.648 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01128, allocations: 0 / 0.9912 GB, free: 8.648 MB / 0.948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003992/0.01168, allocations: 400.4 kB / 0.9915 GB, free: 8.238 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.01171, allocations: 32.36 kB / 0.9916 GB, free: 8.203 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.01171, allocations: 7.984 kB / 0.9916 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.01173, allocations: 4 kB / 0.9916 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.01183, allocations: 39.92 kB / 0.9916 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.01184, allocations: 7.922 kB / 0.9916 GB, free: 8.145 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.01197, allocations: 55.91 kB / 0.9917 GB, free: 8.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.01198, allocations: 12 kB / 0.9917 GB, free: 8.078 MB / 0.948 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.0001208/0.0121, allocations: 177.8 kB / 0.9919 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.01212, allocations: 19.84 kB / 0.9919 GB, free: 7.879 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.01216, allocations: 26.66 kB / 0.9919 GB, free: 7.855 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01216, allocations: 7.984 kB / 0.9919 GB, free: 7.848 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01217, allocations: 4 kB / 0.9919 GB, free: 7.844 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.01217, allocations: 3.938 kB / 0.9919 GB, free: 7.84 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.01277, allocations: 0.6247 MB / 0.9925 GB, free: 7.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01277, allocations: 0 / 0.9925 GB, free: 7.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.01284, allocations: 27.92 kB / 0.9926 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01284, allocations: 0 / 0.9926 GB, free: 7.152 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.01286, allocations: 11.98 kB / 0.9926 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01286, allocations: 0 / 0.9926 GB, free: 7.141 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01286, allocations: 4 kB / 0.9926 GB, free: 7.137 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.01317, allocations: 372.5 kB / 0.9929 GB, free: 6.758 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.01319, allocations: 19.84 kB / 0.9929 GB, free: 6.738 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.01321, allocations: 7.984 kB / 0.9929 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01332, allocations: 27.97 kB / 0.993 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.01339, allocations: 43.88 kB / 0.993 GB, free: 6.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.01341, allocations: 16 kB / 0.993 GB, free: 6.645 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.594e-05/0.01346, allocations: 120.9 kB / 0.9931 GB, free: 6.527 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01346, allocations: 0 / 0.9931 GB, free: 6.527 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001954/0.01366, allocations: 71.83 kB / 0.9932 GB, free: 6.457 MB / 0.948 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.035e-05/0.01375, allocations: 117.2 kB / 0.9933 GB, free: 6.336 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003895/0.01414, allocations: 345 kB / 0.9937 GB, free: 5.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01414, allocations: 0 / 0.9937 GB, free: 5.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.01428, allocations: 127.7 kB / 0.9938 GB, free: 5.855 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.0145, allocations: 27.98 kB / 0.9938 GB, free: 5.828 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.01505, allocations: 469 kB / 0.9943 GB, free: 5.332 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.01514, allocations: 151 kB / 0.9944 GB, free: 5.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.405e-05/0.01521, allocations: 28.5 kB / 0.9944 GB, free: 5.133 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.01521, allocations: 0 / 0.9944 GB, free: 5.133 MB / 0.948 GB Notification: Performance of Templates: time 0.003353/0.01856, allocations: 3.326 MB / 0.9977 GB, free: 1.812 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_WSEControl.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.7064394215121865]