Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.214/2.214, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001381/0.00138, allocations: 190.2 kB / 329.5 MB, free: 1.148 MB / 250.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 2.325/2.325, allocations: 225.6 MB / 0.6001 GB, free: 2.207 MB / 426.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.001085/0.001084, allocations: 91.75 kB / 0.7074 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005023, allocations: 15.62 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002103/0.2228, allocations: 1.367 MB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.2238, allocations: 427.2 kB / 0.9325 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.2239, allocations: 0 / 0.9325 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.685e-05/0.2239, allocations: 4 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.224, allocations: 11.88 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.2242, allocations: 27.89 kB / 0.9326 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.2243, allocations: 67.78 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2245, allocations: 23.97 kB / 0.9326 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2246, allocations: 31.86 kB / 0.9327 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.2247, allocations: 35.83 kB / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2248, allocations: 0 / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.965e-05/0.2248, allocations: 4 kB / 0.9327 GB, free: 23.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.2248, allocations: 7.938 kB / 0.9327 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.2248, allocations: 37.69 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.225, allocations: 60.09 kB / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.225, allocations: 0 / 0.9328 GB, free: 23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.344e-06/0.225, allocations: 3.938 kB / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.225, allocations: 0 / 0.9328 GB, free: 22.99 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005968/0.2256, allocations: 387.3 kB / 0.9332 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2257, allocations: 11.97 kB / 0.9332 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/0.2257, allocations: 8.844 kB / 0.9332 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2259, allocations: 180.2 kB / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2259, allocations: 4.375 kB / 0.9334 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.2259, allocations: 4.375 kB / 0.9334 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2262, allocations: 103.6 kB / 0.9335 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2262, allocations: 3.938 kB / 0.9335 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.2263, allocations: 0 / 0.9335 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2263, allocations: 3.984 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.2265, allocations: 59.97 kB / 0.9336 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.2272, allocations: 332.6 kB / 0.9339 GB, free: 21.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2274, allocations: 58.55 kB / 0.9339 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2275, allocations: 32.94 kB / 0.934 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.2276, allocations: 0 / 0.934 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2276, allocations: 30.56 kB / 0.934 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2276, allocations: 4 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0005099/0.2281, allocations: 109.7 kB / 0.9341 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.2282, allocations: 85.09 kB / 0.9342 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2283, allocations: 126.1 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2283, allocations: 29.7 kB / 0.9343 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.2284, allocations: 100 kB / 0.9344 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.2284, allocations: 11.75 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.2284, allocations: 4 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.2285, allocations: 322.8 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2287, allocations: 27.98 kB / 0.9348 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.2288, allocations: 45.7 kB / 0.9348 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.229, allocations: 27.98 kB / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.229, allocations: 0 / 0.9348 GB, free: 20.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000323/0.2293, allocations: 105.5 kB / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2293, allocations: 4 kB / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2294, allocations: 0 / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2294, allocations: 0 / 0.9349 GB, free: 20.58 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2296, allocations: 19.92 kB / 0.935 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2296, allocations: 0 / 0.935 GB, free: 20.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.2297, allocations: 11.98 kB / 0.935 GB, free: 20.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.2298, allocations: 11.94 kB / 0.935 GB, free: 20.54 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 9.636e-05/0.2299, allocations: 114.9 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.2299, allocations: 7.906 kB / 0.9351 GB, free: 20.41 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.23, allocations: 8.25 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.23, allocations: 0 / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.23, allocations: 4 kB / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.23, allocations: 0 / 0.9351 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.2302, allocations: 197.7 kB / 0.9353 GB, free: 20.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2302, allocations: 4 kB / 0.9353 GB, free: 20.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.2304, allocations: 19.98 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2304, allocations: 3.938 kB / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.2304, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2304, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2304, allocations: 0 / 0.9353 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.2308, allocations: 187.5 kB / 0.9355 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2308, allocations: 85 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.2308, allocations: 4 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.2311, allocations: 11.98 kB / 0.9356 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.2311, allocations: 11.98 kB / 0.9356 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.2312, allocations: 4 kB / 0.9356 GB, free: 19.79 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.444e-05/0.2312, allocations: 107.2 kB / 0.9357 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2313, allocations: 0 / 0.9357 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002917/0.2316, allocations: 15.84 kB / 0.9357 GB, free: 19.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001271/0.2317, allocations: 107.5 kB / 0.9358 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.232, allocations: 71.89 kB / 0.9359 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.232, allocations: 0 / 0.9359 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.2322, allocations: 31.98 kB / 0.9359 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2326, allocations: 3.938 kB / 0.9359 GB, free: 19.45 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.2331, allocations: 202.5 kB / 0.9361 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.2332, allocations: 0.6926 MB / 0.9368 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.577e-05/0.2333, allocations: 4.234 kB / 0.9368 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.2334, allocations: 11.44 kB / 0.9368 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of SimCode: time 9.32e-07/0.2334, allocations: 3.938 kB / 0.9368 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of Templates: time 0.003896/0.2373, allocations: 0.7152 MB / 0.9375 GB, free: 17.77 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)