Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") 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.572/1.572, allocations: 292.6 MB / 307.9 MB, free: 7.09 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.001089/0.001089, allocations: 189.4 kB / 376.5 MB, free: 4.422 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.45/1.45, allocations: 225.7 MB / 0.655 GB, free: 13.06 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.0009417/0.0009416, allocations: 99.38 kB / 0.7711 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 13.81 kB / 0.897 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5375, allocations: 118.2 MB / 1.012 GB, free: 57.96 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0009458/0.5385, allocations: 0.5657 MB / 1.013 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008343/0.5394, allocations: 0.8604 MB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.602e-05/0.5394, allocations: 5.531 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.5395, allocations: 10.19 kB / 1.014 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.31e-05/0.5396, allocations: 15.67 kB / 1.014 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.5397, allocations: 24.64 kB / 1.014 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.5398, allocations: 93.86 kB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.5399, allocations: 40.03 kB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.456e-05/0.54, allocations: 37.78 kB / 1.014 GB, free: 57.86 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.5401, allocations: 37.38 kB / 1.014 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.5401, allocations: 3.969 kB / 1.014 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.5402, allocations: 2.625 kB / 1.014 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.5402, allocations: 19.45 kB / 1.014 GB, free: 57.84 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.195e-05/0.5402, allocations: 58.8 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.274e-05/0.5403, allocations: 94.12 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.5403, allocations: 0 / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5404, allocations: 1.344 kB / 1.014 GB, free: 57.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.5404, allocations: 0 / 1.014 GB, free: 57.8 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006751/0.541, allocations: 468.4 kB / 1.015 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.5411, allocations: 10 kB / 1.015 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.5411, allocations: 10.25 kB / 1.015 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5412, allocations: 188 kB / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.5413, allocations: 9.844 kB / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5413, allocations: 10.53 kB / 1.015 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.5415, allocations: 94.34 kB / 1.015 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5415, allocations: 192 / 1.015 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5415, allocations: 8.578 kB / 1.015 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5415, allocations: 2.688 kB / 1.015 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.5417, allocations: 76.09 kB / 1.015 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.5423, allocations: 416.5 kB / 1.015 GB, free: 56.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5425, allocations: 67.02 kB / 1.016 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.5426, allocations: 34.83 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5426, allocations: 7.469 kB / 1.016 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.5426, allocations: 33.45 kB / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.5426, allocations: 0 / 1.016 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0003206/0.5429, allocations: 121.2 kB / 1.016 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.543, allocations: 56.19 kB / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.5431, allocations: 159.2 kB / 1.016 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.5431, allocations: 32.02 kB / 1.016 GB, free: 56.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.5431, allocations: 106.8 kB / 1.016 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.5431, allocations: 9.141 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.5431, allocations: 6.625 kB / 1.016 GB, free: 56.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.173e-05/0.5432, allocations: 322.5 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.444e-05/0.5433, allocations: 31.67 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.495e-05/0.5434, allocations: 33.08 kB / 1.016 GB, free: 56.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.5435, allocations: 58.34 kB / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5435, allocations: 0 / 1.016 GB, free: 56.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001919/0.5437, allocations: 114.4 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.5437, allocations: 5.719 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5437, allocations: 0 / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.5438, allocations: 0 / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.5438, allocations: 10.27 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5439, allocations: 10.78 kB / 1.017 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.544, allocations: 35.02 kB / 1.017 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.544, allocations: 0 / 1.017 GB, free: 56.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.952e-05/0.5441, allocations: 117.1 kB / 1.017 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.5441, allocations: 9.469 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.887e-05/0.5442, allocations: 20.16 kB / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5442, allocations: 0 / 1.017 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5442, allocations: 6.844 kB / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5442, allocations: 0 / 1.017 GB, free: 55.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.5443, allocations: 197.5 kB / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.5443, allocations: 0 / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-05/0.5444, allocations: 8.875 kB / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5444, allocations: 0 / 1.017 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5444, allocations: 17.38 kB / 1.017 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5444, allocations: 4.594 kB / 1.017 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5445, allocations: 5.438 kB / 1.017 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.5446, allocations: 188 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.5447, allocations: 95.56 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.5447, allocations: 0 / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.5449, allocations: 30.92 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.545, allocations: 20.56 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.545, allocations: 8.656 kB / 1.017 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.545, allocations: 116 kB / 1.017 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.545, allocations: 1.156 kB / 1.017 GB, free: 55.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002054/0.5453, allocations: 14.44 kB / 1.017 GB, free: 55.46 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 7.802e-05/0.5453, allocations: 106 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.5455, allocations: 75.06 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5456, allocations: 4 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.5456, allocations: 35.66 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.5459, allocations: 16.56 kB / 1.018 GB, free: 55.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.5463, allocations: 233.8 kB / 1.018 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.5464, allocations: 0.6926 MB / 1.019 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.553e-05/0.5465, allocations: 13.42 kB / 1.019 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.5465, allocations: 12.69 kB / 1.019 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5465, allocations: 0 / 1.019 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of Templates: time 0.002763/0.5493, allocations: 1.071 MB / 1.02 GB, free: 54.46 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)