Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") 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.9/1.9, allocations: 292.6 MB / 307.8 MB, free: 7.172 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.001177/0.001177, allocations: 193.4 kB / 376.5 MB, free: 4.441 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.519/1.519, allocations: 225.7 MB / 0.655 GB, free: 13.14 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.0008676/0.0008672, allocations: 96.61 kB / 0.7711 GB, free: 50.29 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 13.12 kB / 0.897 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7466/0.7471, allocations: 118.2 MB / 1.012 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001011/0.7481, allocations: 437.7 kB / 1.013 GB, free: 57.47 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009999/0.7491, allocations: 0.8237 MB / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.7492, allocations: 0 / 1.014 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.7492, allocations: 6.219 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.942e-05/0.7493, allocations: 2.688 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.7494, allocations: 9.25 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.553e-05/0.7495, allocations: 40.92 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.7497, allocations: 17.31 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.7497, allocations: 13.83 kB / 1.014 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.7498, allocations: 15.05 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.7498, allocations: 2.969 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.7498, allocations: 7.531 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.7499, allocations: 7.031 kB / 1.014 GB, free: 57.42 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.7499, allocations: 37.75 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.626e-05/0.75, allocations: 30.41 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.75, allocations: 0 / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/0.75, allocations: 3.906 kB / 1.014 GB, free: 57.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.75, allocations: 1.781 kB / 1.014 GB, free: 57.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005843/0.7506, allocations: 389.6 kB / 1.014 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7506, allocations: 12 kB / 1.014 GB, free: 57.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.7507, allocations: 11.44 kB / 1.014 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.7508, allocations: 164.3 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.7508, allocations: 6.625 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.7508, allocations: 2.906 kB / 1.014 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.751, allocations: 68.64 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.751, allocations: 192 / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.7511, allocations: 4.875 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7511, allocations: 5.812 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.7513, allocations: 56.67 kB / 1.015 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.7518, allocations: 302.8 kB / 1.015 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.752, allocations: 58.92 kB / 1.015 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.7521, allocations: 36.17 kB / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.7521, allocations: 0 / 1.015 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7522, allocations: 30.56 kB / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.7522, allocations: 0 / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003745/0.7526, allocations: 114.1 kB / 1.015 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.7526, allocations: 53.34 kB / 1.015 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/0.7527, allocations: 113.9 kB / 1.015 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.7527, allocations: 26.73 kB / 1.015 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.7527, allocations: 95.58 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.7528, allocations: 11.11 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.7528, allocations: 0 / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.403e-05/0.7528, allocations: 320.7 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.7529, allocations: 29.91 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.753, allocations: 27.91 kB / 1.016 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.7532, allocations: 53.47 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7532, allocations: 0.8438 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001869/0.7534, allocations: 93.3 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7534, allocations: 5.781 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7534, allocations: 2.219 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7534, allocations: 3.375 kB / 1.016 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.7535, allocations: 19.8 kB / 1.016 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.7535, allocations: 0 / 1.016 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7536, allocations: 25.92 kB / 1.016 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.7536, allocations: 1.094 kB / 1.016 GB, free: 55.76 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 5.768e-05/0.7537, allocations: 122.5 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.7537, allocations: 2.5 kB / 1.016 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.754, allocations: 90.09 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.754, allocations: 3.375 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.754, allocations: 0 / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.754, allocations: 2.844 kB / 1.016 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.7541, allocations: 170.1 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7541, allocations: 0 / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.7542, allocations: 14.58 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.7542, allocations: 1.359 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.7542, allocations: 3.781 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7542, allocations: 1.75 kB / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7542, allocations: 0 / 1.016 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.7544, allocations: 187 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.687e-05/0.7545, allocations: 81.05 kB / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.7545, allocations: 4.391 kB / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.7546, allocations: 21.88 kB / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.7547, allocations: 8.875 kB / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.7547, allocations: 0 / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.7547, allocations: 90.45 kB / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.7547, allocations: 0 / 1.017 GB, free: 55.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002116/0.755, allocations: 4.844 kB / 1.017 GB, free: 55.1 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001197/0.7551, allocations: 111.4 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002247/0.7553, allocations: 63.89 kB / 1.017 GB, free: 55.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7553, allocations: 4 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.7554, allocations: 28.47 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.7557, allocations: 11.12 kB / 1.017 GB, free: 55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.756, allocations: 139.4 kB / 1.017 GB, free: 54.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.7561, allocations: 0.6888 MB / 1.018 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.7562, allocations: 0.8438 kB / 1.018 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.7562, allocations: 10.41 kB / 1.018 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of SimCode: time 1.9e-07/0.7562, allocations: 0 / 1.018 GB, free: 54.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.002507/0.7587, allocations: 0.6412 MB / 1.018 GB, free: 54.14 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)