Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.0008856/0.0008859, allocations: 188.7 kB / 382.3 MB, free: 14.83 MB / 314.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.332/1.332, allocations: 225.7 MB / 0.6617 GB, free: 7.246 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.000762/0.0007621, allocations: 99.2 kB / 0.7789 GB, free: 46.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004262/0.0004263, allocations: 8 kB / 0.9058 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6107, allocations: 119.2 MB / 1.022 GB, free: 58.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl): time 0.001944/0.6127, allocations: 1.708 MB / 1.024 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009842/0.6137, allocations: 0.8178 MB / 1.025 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.94e-05/0.6138, allocations: 10.28 kB / 1.025 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.6139, allocations: 23.81 kB / 1.025 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.941e-05/0.614, allocations: 27.39 kB / 1.025 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.6143, allocations: 140.8 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.6147, allocations: 367.8 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.615, allocations: 214 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.6151, allocations: 99.09 kB / 1.026 GB, free: 56.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.6153, allocations: 118.3 kB / 1.026 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.6153, allocations: 12.78 kB / 1.026 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-05/0.6154, allocations: 18.08 kB / 1.026 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.196e-05/0.6155, allocations: 62.39 kB / 1.026 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.6156, allocations: 144.7 kB / 1.026 GB, free: 56.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.6159, allocations: 377.6 kB / 1.026 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6159, allocations: 0 / 1.026 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6159, allocations: 0 / 1.026 GB, free: 56.17 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.6159, allocations: 0 / 1.026 GB, free: 56.17 MB / 0.698 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.0006547/0.6166, allocations: 0.544 MB / 1.027 GB, free: 55.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.6166, allocations: 11.47 kB / 1.027 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.6167, allocations: 34.69 kB / 1.027 GB, free: 55.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.6169, allocations: 269.9 kB / 1.027 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.6169, allocations: 30 kB / 1.027 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.617, allocations: 34.44 kB / 1.027 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005689/0.6175, allocations: 341.8 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.6176, allocations: 3.938 kB / 1.028 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.6176, allocations: 18.39 kB / 1.028 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6176, allocations: 6.125 kB / 1.028 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.6181, allocations: 256.9 kB / 1.028 GB, free: 55.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.6193, allocations: 0.9568 MB / 1.029 GB, free: 54.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005683/0.6199, allocations: 277.1 kB / 1.029 GB, free: 54.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.6201, allocations: 126.9 kB / 1.029 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6201, allocations: 3.406 kB / 1.029 GB, free: 54.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.6205, allocations: 190.1 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.874e-06/0.6205, allocations: 0 / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0007523/0.6213, allocations: 368.5 kB / 1.03 GB, free: 54.13 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.6213, allocations: 60.48 kB / 1.03 GB, free: 54.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.6215, allocations: 195 kB / 1.03 GB, free: 53.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.6215, allocations: 44.38 kB / 1.03 GB, free: 53.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.6216, allocations: 155.8 kB / 1.03 GB, free: 53.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.6216, allocations: 83.22 kB / 1.03 GB, free: 53.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/0.6216, allocations: 8.688 kB / 1.03 GB, free: 53.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.6217, allocations: 336.7 kB / 1.03 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.6219, allocations: 111.3 kB / 1.031 GB, free: 53.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.6222, allocations: 172.7 kB / 1.031 GB, free: 53.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.6226, allocations: 270.4 kB / 1.031 GB, free: 53.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6226, allocations: 0 / 1.031 GB, free: 53.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000579/0.6232, allocations: 376.8 kB / 1.031 GB, free: 52.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.6232, allocations: 33.33 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6232, allocations: 1 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6232, allocations: 3.531 kB / 1.031 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.6235, allocations: 47.25 kB / 1.031 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.6235, allocations: 3.344 kB / 1.031 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.6237, allocations: 61.02 kB / 1.032 GB, free: 52.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.6237, allocations: 13.52 kB / 1.032 GB, free: 52.82 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.6239, allocations: 190.1 kB / 1.032 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.6239, allocations: 22.03 kB / 1.032 GB, free: 52.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.6245, allocations: 309.6 kB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6245, allocations: 5.125 kB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6245, allocations: 0 / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6245, allocations: 9.688 kB / 1.032 GB, free: 52.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.6255, allocations: 0.7608 MB / 1.033 GB, free: 52.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6255, allocations: 0.75 kB / 1.033 GB, free: 52.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.6256, allocations: 32.53 kB / 1.033 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6256, allocations: 3.484 kB / 1.033 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.6257, allocations: 13.16 kB / 1.033 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6257, allocations: 4.5 kB / 1.033 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6257, allocations: 0 / 1.033 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.6262, allocations: 385.4 kB / 1.033 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.6262, allocations: 97.02 kB / 1.033 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.6262, allocations: 6.375 kB / 1.033 GB, free: 51.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.6265, allocations: 41.2 kB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.664e-05/0.6266, allocations: 44.31 kB / 1.033 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.6266, allocations: 7.281 kB / 1.033 GB, free: 51.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.49e-05/0.6267, allocations: 129.8 kB / 1.034 GB, free: 51.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6267, allocations: 0 / 1.034 GB, free: 51.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002866/0.627, allocations: 70.56 kB / 1.034 GB, free: 51.55 MB / 0.698 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 (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.0001286/0.6271, allocations: 138 kB / 1.034 GB, free: 51.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.6277, allocations: 339.7 kB / 1.034 GB, free: 51.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6277, allocations: 320 / 1.034 GB, free: 51.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.6279, allocations: 144.3 kB / 1.034 GB, free: 51.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.6283, allocations: 30.84 kB / 1.034 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.6289, allocations: 0.5491 MB / 1.035 GB, free: 50.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.6291, allocations: 0.7595 MB / 1.035 GB, free: 50.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.6292, allocations: 29.16 kB / 1.036 GB, free: 50.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.6293, allocations: 34.55 kB / 1.036 GB, free: 50.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.6293, allocations: 0 / 1.036 GB, free: 50.16 MB / 0.698 GB Notification: Performance of Templates: time 0.005377/0.6347, allocations: 2.821 MB / 1.038 GB, free: 49.98 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.WSEControl.pipe 2>&1)