Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.727/1.727, allocations: 306.1 MB / 321.3 MB, free: 10.71 MB / 250.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.001101/0.001102, allocations: 195.2 kB / 393.1 MB, free: 4.059 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.446/1.446, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 94.78 kB / 0.7935 GB, free: 40.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003536, allocations: 12 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5582, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.0008934/0.5591, allocations: 0.5759 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000789/0.5599, allocations: 0.8602 MB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.458e-05/0.56, allocations: 1.5 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.56, allocations: 6 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.5601, allocations: 13.2 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.5602, allocations: 36.08 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.5604, allocations: 99.34 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.5605, allocations: 43.58 kB / 1.042 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.166e-05/0.5606, allocations: 39.86 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.5607, allocations: 42.19 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5607, allocations: 3.844 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.394e-05/0.5607, allocations: 6.594 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.5608, allocations: 13.86 kB / 1.043 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.5608, allocations: 63.67 kB / 1.043 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.5609, allocations: 120.2 kB / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.561, allocations: 0 / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/0.561, allocations: 0 / 1.043 GB, free: 57.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.561, allocations: 0 / 1.043 GB, free: 57.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007238/0.5617, allocations: 463.3 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.5617, allocations: 10.59 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.5618, allocations: 14.56 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.5619, allocations: 187.8 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.5619, allocations: 6.5 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5619, allocations: 6.344 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.5621, allocations: 97.98 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5621, allocations: 192 / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.5622, allocations: 9.656 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5622, allocations: 3.906 kB / 1.044 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5623, allocations: 70.36 kB / 1.044 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.563, allocations: 415 kB / 1.044 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5631, allocations: 68.41 kB / 1.044 GB, free: 56.16 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.5632, allocations: 42.48 kB / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.5632, allocations: 0 / 1.044 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.5632, allocations: 31.91 kB / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.5632, allocations: 0 / 1.044 GB, free: 56.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003222/0.5636, allocations: 125.5 kB / 1.044 GB, free: 56.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.5636, allocations: 52.12 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.5637, allocations: 151.6 kB / 1.044 GB, free: 55.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5637, allocations: 33.05 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.5638, allocations: 106.8 kB / 1.045 GB, free: 55.74 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.5638, allocations: 17.27 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-06/0.5638, allocations: 3.062 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.5639, allocations: 321.1 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.5639, allocations: 37.56 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.046e-05/0.564, allocations: 35.08 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.5642, allocations: 55.27 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5642, allocations: 4.938 kB / 1.045 GB, free: 55.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001966/0.5644, allocations: 103.8 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5644, allocations: 9.75 kB / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.5644, allocations: 0 / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5645, allocations: 0 / 1.045 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.5646, allocations: 19.23 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5646, allocations: 3.938 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.5647, allocations: 32.02 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5648, allocations: 4 kB / 1.045 GB, free: 55.29 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.5648, allocations: 119.9 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.5649, allocations: 7.688 kB / 1.045 GB, free: 55.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.5649, allocations: 17.42 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5649, allocations: 0 / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5649, allocations: 8.438 kB / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.5649, allocations: 0 / 1.045 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.5651, allocations: 201.5 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5651, allocations: 0 / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.5651, allocations: 13.03 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5652, allocations: 1.547 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.5652, allocations: 3.125 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5652, allocations: 0 / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5652, allocations: 7.344 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.5654, allocations: 192.9 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.5654, allocations: 91.89 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.5655, allocations: 7.812 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.5657, allocations: 28.64 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.5657, allocations: 20.52 kB / 1.046 GB, free: 54.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.5657, allocations: 8 kB / 1.046 GB, free: 54.65 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.584e-05/0.5658, allocations: 110.1 kB / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5658, allocations: 0 / 1.046 GB, free: 54.57 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002063/0.566, allocations: 17.34 kB / 1.046 GB, free: 54.56 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.162e-05/0.5661, allocations: 104.8 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002139/0.5663, allocations: 76.14 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5663, allocations: 0.5625 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.5664, allocations: 37.11 kB / 1.046 GB, free: 54.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.5667, allocations: 9.656 kB / 1.046 GB, free: 54.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.567, allocations: 240.3 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.5672, allocations: 0.7105 MB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.5672, allocations: 2.344 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.5673, allocations: 17.47 kB / 1.047 GB, free: 53.54 MB / 0.698 GB Notification: Performance of SimCode: time 3e-07/0.5673, allocations: 3.938 kB / 1.047 GB, free: 53.53 MB / 0.698 GB Notification: Performance of Templates: time 0.002956/0.5703, allocations: 1.101 MB / 1.048 GB, free: 53.45 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)