Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 292.6 MB / 307.8 MB, free: 7.133 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 189 kB / 376.5 MB, free: 4.457 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 225.7 MB / 0.655 GB, free: 13.16 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007819, allocations: 93.47 kB / 0.7711 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 15.98 kB / 0.897 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/0.5221, allocations: 118.2 MB / 1.012 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001876/0.524, allocations: 1.694 MB / 1.014 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008976/0.5249, allocations: 0.664 MB / 1.015 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.525, allocations: 6.938 kB / 1.015 GB, free: 57.37 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.901e-05/0.5251, allocations: 21.58 kB / 1.015 GB, free: 57.36 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.5252, allocations: 30.45 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.5255, allocations: 104.6 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.5258, allocations: 347 kB / 1.015 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.5261, allocations: 216.4 kB / 1.015 GB, free: 57.28 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.5262, allocations: 97.25 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.5263, allocations: 113.2 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.5264, allocations: 11.41 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.5265, allocations: 21.25 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.5265, allocations: 51.2 kB / 1.016 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.5266, allocations: 144 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.5268, allocations: 310 kB / 1.016 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5269, allocations: 0 / 1.016 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5269, allocations: 0 / 1.016 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5269, allocations: 0 / 1.016 GB, free: 57.14 MB / 0.7136 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.0006484/0.5275, allocations: 0.5484 MB / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.5276, allocations: 15.59 kB / 1.017 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.5276, allocations: 32.34 kB / 1.017 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.5279, allocations: 270 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.498e-05/0.5279, allocations: 29.75 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.528, allocations: 37.31 kB / 1.017 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.5285, allocations: 341.1 kB / 1.017 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5286, allocations: 0 / 1.017 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.5286, allocations: 14.53 kB / 1.017 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5286, allocations: 5.969 kB / 1.017 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.5291, allocations: 265.3 kB / 1.018 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5303, allocations: 0.958 MB / 1.019 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.5308, allocations: 273.8 kB / 1.019 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.531, allocations: 130.6 kB / 1.019 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.5311, allocations: 2.625 kB / 1.019 GB, free: 55.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.5314, allocations: 184.2 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=32): time 1.894e-06/0.5315, allocations: 0.5 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=32): time 0.0007182/0.5322, allocations: 370.9 kB / 1.019 GB, free: 55.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.5322, allocations: 58.86 kB / 1.02 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.5324, allocations: 203.6 kB / 1.02 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.5324, allocations: 38.45 kB / 1.02 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.5325, allocations: 153.3 kB / 1.02 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.678e-05/0.5325, allocations: 82.41 kB / 1.02 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/0.5325, allocations: 9.594 kB / 1.02 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.5326, allocations: 343.1 kB / 1.02 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.5328, allocations: 108.1 kB / 1.02 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.5331, allocations: 172 kB / 1.021 GB, free: 55.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.5335, allocations: 265.8 kB / 1.021 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5335, allocations: 3.844 kB / 1.021 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005635/0.5341, allocations: 373.9 kB / 1.021 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.5341, allocations: 34.8 kB / 1.021 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5341, allocations: 6.906 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5341, allocations: 2.969 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.5343, allocations: 50.23 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5343, allocations: 6.047 kB / 1.021 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.5346, allocations: 61.25 kB / 1.021 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5346, allocations: 14.72 kB / 1.021 GB, free: 54.88 MB / 0.7136 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.0001311/0.5347, allocations: 173.3 kB / 1.022 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.5348, allocations: 24.31 kB / 1.022 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.5353, allocations: 319.5 kB / 1.022 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5353, allocations: 6.094 kB / 1.022 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5353, allocations: 0 / 1.022 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5353, allocations: 0 / 1.022 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009247/0.5363, allocations: 0.7579 MB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.5363, allocations: 1.812 kB / 1.023 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.5364, allocations: 40.73 kB / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5364, allocations: 2.438 kB / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.5365, allocations: 6.281 kB / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5365, allocations: 7.125 kB / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.5365, allocations: 0 / 1.023 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.5369, allocations: 378 kB / 1.023 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.537, allocations: 101 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.537, allocations: 9.688 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.5373, allocations: 38.53 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.5374, allocations: 44.03 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.5374, allocations: 14.78 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.852e-05/0.5375, allocations: 129.9 kB / 1.023 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5375, allocations: 0 / 1.023 GB, free: 54.01 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002751/0.5378, allocations: 68.78 kB / 1.023 GB, free: 54 MB / 0.7136 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.0001268/0.5379, allocations: 135.3 kB / 1.024 GB, free: 53.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.5384, allocations: 342.2 kB / 1.024 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5384, allocations: 1.031 kB / 1.024 GB, free: 53.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.5387, allocations: 150.1 kB / 1.024 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.539, allocations: 26.47 kB / 1.024 GB, free: 53.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.5397, allocations: 0.5226 MB / 1.025 GB, free: 53.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.5399, allocations: 0.7604 MB / 1.025 GB, free: 52.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000115/0.54, allocations: 30.08 kB / 1.025 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.112e-05/0.5401, allocations: 30.91 kB / 1.025 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.5401, allocations: 4 kB / 1.025 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of Templates: time 0.005363/0.5455, allocations: 2.738 MB / 1.028 GB, free: 52.68 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)