Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01706/0.01707, allocations: 221.3 kB / 15.17 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001829/0.001829, allocations: 179.1 kB / 16.06 MB, free: 5.867 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.657/3.657, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.331/4.331, allocations: 472.3 MB / 0.9018 GB, free: 13.28 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.00075/0.0007506, allocations: 12 kB / 1.008 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5119, allocations: 98.72 MB / 1.104 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001965/0.5139, allocations: 1.673 MB / 1.106 GB, free: 182.1 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.515, allocations: 0.6884 MB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.5152, allocations: 7.938 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.5154, allocations: 27.73 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.5155, allocations: 23.78 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.5159, allocations: 103.8 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.5162, allocations: 340.9 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.5166, allocations: 199.5 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.5167, allocations: 91.62 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.5168, allocations: 108.3 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.5169, allocations: 16 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.551e-05/0.517, allocations: 23.94 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.5171, allocations: 47.83 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.5171, allocations: 69.58 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.5174, allocations: 308.4 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.001e-06/0.5175, allocations: 3.984 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.381e-06/0.5175, allocations: 3.281 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.8e-06/0.5175, allocations: 0 / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0007986/0.5183, allocations: 0.5333 MB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.5183, allocations: 11.44 kB / 1.108 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.5184, allocations: 35.58 kB / 1.108 GB, free: 179.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.5187, allocations: 258.6 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.035e-05/0.5188, allocations: 28.56 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.5188, allocations: 30.2 kB / 1.109 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.5196, allocations: 338.8 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.5196, allocations: 0 / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.5196, allocations: 12.75 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5197, allocations: 13.27 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007068/0.5204, allocations: 261.4 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001557/0.522, allocations: 0.9494 MB / 1.11 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.5227, allocations: 274.6 kB / 1.11 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.523, allocations: 129.9 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.948e-05/0.5231, allocations: 4 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004588/0.5236, allocations: 182.7 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=32): time 3.749e-06/0.5236, allocations: 0 / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=32): time 0.000985/0.5246, allocations: 371.5 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5246, allocations: 63.34 kB / 1.111 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.5248, allocations: 207 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.5249, allocations: 37.7 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/0.525, allocations: 149.9 kB / 1.111 GB, free: 176.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.5251, allocations: 82.91 kB / 1.111 GB, free: 176 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/0.5251, allocations: 8 kB / 1.112 GB, free: 176 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.5252, allocations: 336.8 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/0.5255, allocations: 111.3 kB / 1.112 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5259, allocations: 172.1 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.5262, allocations: 143.5 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.5262, allocations: 4 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008339/0.5271, allocations: 364.8 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.5271, allocations: 38.55 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5271, allocations: 2.75 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.872e-05/0.5272, allocations: 4 kB / 1.113 GB, free: 174.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.5274, allocations: 44.72 kB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.5275, allocations: 4 kB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.5278, allocations: 70.91 kB / 1.113 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.5278, allocations: 12 kB / 1.113 GB, free: 174.7 MB / 0.6823 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,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCHWST.T_start,wseCHWST.T_start,$PRE.wseCHWST.count,wseCHWST.count,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.5281, allocations: 180.7 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.5281, allocations: 21.45 kB / 1.113 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.5289, allocations: 303.5 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.874e-06/0.5289, allocations: 4 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.078e-06/0.5289, allocations: 0 / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.712e-06/0.5289, allocations: 3.984 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.5302, allocations: 0.7614 MB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-06/0.5303, allocations: 0 / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.5304, allocations: 35.91 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.998e-06/0.5305, allocations: 7.031 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.5305, allocations: 12.7 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.5305, allocations: 0 / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.02e-06/0.5305, allocations: 2 kB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.5312, allocations: 382.1 kB / 1.114 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.5313, allocations: 104.8 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.5313, allocations: 9.156 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.5316, allocations: 43.23 kB / 1.115 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.5318, allocations: 39.94 kB / 1.115 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.5318, allocations: 13.02 kB / 1.115 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001235/0.5319, allocations: 131.5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.49e-07/0.5319, allocations: 0.5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004643/0.5324, allocations: 72.47 kB / 1.115 GB, free: 172.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 (wseCon.T1.enableFire,wseCon.T2.enableFire,wseCon.on.localActive,wseCon.off.localActive,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,wseCHWST.T_start,wseCHWST.count,wseCon.off.newActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.fire,wseCon.T1.t_start,wseCon.on.active,wseCon.on.newActive,wseCon.on.oldActive,wseCon.T2.condition,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 (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001829/0.5326, allocations: 124 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008149/0.5334, allocations: 339 kB / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.229e-06/0.5335, allocations: 0 / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/0.5338, allocations: 151.1 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.5343, allocations: 33.23 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009948/0.5353, allocations: 0.5076 MB / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.5356, allocations: 0.7672 MB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000165/0.5357, allocations: 30.34 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5359, allocations: 27.42 kB / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.862e-06/0.5359, allocations: 0 / 1.117 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.007844/0.5437, allocations: 2.725 MB / 1.119 GB, free: 167.9 MB / 0.6823 GB