Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.243/1.243, allocations: 255.9 MB / 271.2 MB, free: 8.902 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.0009275/0.0009276, allocations: 186.1 kB / 330.8 MB, free: 472 kB / 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 1.331/1.331, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.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.0007386/0.0007385, allocations: 99.55 kB / 0.709 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 7.812 kB / 0.8261 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 109.2 MB / 0.9328 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001274/0.1461, allocations: 1.371 MB / 0.9341 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004717/0.1466, allocations: 415.3 kB / 0.9345 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.1466, allocations: 0 / 0.9345 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.1467, allocations: 3.938 kB / 0.9345 GB, free: 22.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.506e-05/0.1467, allocations: 23.84 kB / 0.9345 GB, free: 22.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001224/0.1469, allocations: 23.98 kB / 0.9345 GB, free: 22.26 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.147, allocations: 71.72 kB / 0.9346 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.147, allocations: 23.98 kB / 0.9346 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.497e-05/0.1471, allocations: 31.91 kB / 0.9347 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.1472, allocations: 35.78 kB / 0.9347 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1472, allocations: 4 kB / 0.9347 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1472, allocations: 4 kB / 0.9347 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1472, allocations: 7.938 kB / 0.9347 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1473, allocations: 53.5 kB / 0.9348 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.439e-05/0.1474, allocations: 71.95 kB / 0.9348 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1474, allocations: 7.938 kB / 0.9348 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1474, allocations: 0 / 0.9348 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.1474, allocations: 0 / 0.9348 GB, free: 21.95 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.0003224/0.1477, allocations: 387.3 kB / 0.9352 GB, free: 21.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.632e-05/0.1477, allocations: 11.98 kB / 0.9352 GB, free: 21.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.1478, allocations: 8.844 kB / 0.9352 GB, free: 21.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.12e-05/0.1479, allocations: 184.2 kB / 0.9354 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1479, allocations: 384 / 0.9354 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.1479, allocations: 8.375 kB / 0.9354 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1481, allocations: 103.6 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1481, allocations: 3.984 kB / 0.9355 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1481, allocations: 4 kB / 0.9355 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.1481, allocations: 0 / 0.9355 GB, free: 21.15 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.1482, allocations: 55.97 kB / 0.9356 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1486, allocations: 332.6 kB / 0.9359 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1487, allocations: 62.55 kB / 0.936 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.1488, allocations: 28.94 kB / 0.936 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1488, allocations: 4 kB / 0.936 GB, free: 20.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.1488, allocations: 34.59 kB / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.1488, allocations: 0 / 0.936 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002732/0.1491, allocations: 117.5 kB / 0.9361 GB, free: 20.45 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.013e-05/0.1491, allocations: 77.11 kB / 0.9362 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.1492, allocations: 126.1 kB / 0.9363 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1492, allocations: 29.69 kB / 0.9364 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.1492, allocations: 100 kB / 0.9365 GB, free: 20.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.1492, allocations: 19.83 kB / 0.9365 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.1492, allocations: 0 / 0.9365 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.1493, allocations: 318.8 kB / 0.9368 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.1494, allocations: 23.98 kB / 0.9368 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.039e-05/0.1494, allocations: 49.64 kB / 0.9368 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1496, allocations: 56.83 kB / 0.9369 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1496, allocations: 0 / 0.9369 GB, free: 19.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.1497, allocations: 97.59 kB / 0.937 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.1498, allocations: 7.906 kB / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1498, allocations: 0 / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.886e-06/0.1498, allocations: 3.938 kB / 0.937 GB, free: 19.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/0.1499, allocations: 15.98 kB / 0.937 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.1499, allocations: 0 / 0.937 GB, free: 19.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.205e-05/0.15, allocations: 23.89 kB / 0.937 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.15, allocations: 7.875 kB / 0.937 GB, free: 19.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.054e-05/0.15, allocations: 118.5 kB / 0.9372 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.15, allocations: 4 kB / 0.9372 GB, free: 19.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.1501, allocations: 8.25 kB / 0.9372 GB, free: 19.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1501, allocations: 4 kB / 0.9372 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1501, allocations: 0 / 0.9372 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1501, allocations: 3.938 kB / 0.9372 GB, free: 19.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.1502, allocations: 189.6 kB / 0.9374 GB, free: 19.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1502, allocations: 4 kB / 0.9374 GB, free: 19.06 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.1503, allocations: 11.98 kB / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1503, allocations: 0 / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1503, allocations: 192 / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1503, allocations: 4 kB / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1503, allocations: 0 / 0.9374 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1505, allocations: 199.3 kB / 0.9376 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.1505, allocations: 89 kB / 0.9377 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.1506, allocations: 4 kB / 0.9377 GB, free: 18.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.1507, allocations: 12.22 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1507, allocations: 7.984 kB / 0.9377 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1507, allocations: 8 kB / 0.9377 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.1507, allocations: 103.2 kB / 0.9378 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1508, allocations: 0 / 0.9378 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001815/0.1509, allocations: 15.94 kB / 0.9378 GB, free: 18.58 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.074e-05/0.151, allocations: 111.8 kB / 0.9379 GB, free: 18.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1512, allocations: 63.95 kB / 0.938 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1512, allocations: 0 / 0.938 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.1513, allocations: 31.92 kB / 0.938 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1515, allocations: 8 kB / 0.938 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000253/0.1518, allocations: 207.8 kB / 0.9382 GB, free: 18.13 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.427e-05/0.1518, allocations: 0.6887 MB / 0.9389 GB, free: 17.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.612e-05/0.1519, allocations: 4 kB / 0.9389 GB, free: 17.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.1519, allocations: 19.36 kB / 0.9389 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of SimCode: time 2.71e-07/0.1519, allocations: 4 kB / 0.9389 GB, free: 17.39 MB / 0.5886 GB Notification: Performance of Templates: time 0.002047/0.154, allocations: 0.7551 MB / 0.9396 GB, free: 16.64 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1)