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.EquipmentOnOff.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.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.651/1.651, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.000983/0.0009829, allocations: 182.8 kB / 393.1 MB, free: 4.094 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.283/1.283, allocations: 225.7 MB / 0.6743 GB, free: 12.63 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.0008397/0.0008396, allocations: 94.97 kB / 0.7935 GB, free: 40.17 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.000326, allocations: 8 kB / 0.9224 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5375, allocations: 121.3 MB / 1.041 GB, free: 58.81 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001162/0.5387, allocations: 0.5172 MB / 1.041 GB, free: 58.55 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.5404, allocations: 1.299 MB / 1.043 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.317e-05/0.5405, allocations: 0 / 1.043 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.935e-05/0.5405, allocations: 6.531 kB / 1.043 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.5406, allocations: 8.359 kB / 1.043 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.5411, allocations: 127.6 kB / 1.043 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.5413, allocations: 129.6 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.5414, allocations: 34.23 kB / 1.043 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.5415, allocations: 41.08 kB / 1.043 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.5417, allocations: 43.83 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.5417, allocations: 6.062 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.473e-05/0.5418, allocations: 23.47 kB / 1.043 GB, free: 57.35 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.5418, allocations: 12.98 kB / 1.043 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.542e-05/0.5419, allocations: 65.78 kB / 1.043 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.5421, allocations: 147.5 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5421, allocations: 0 / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5421, allocations: 1.781 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5421, allocations: 0 / 1.043 GB, free: 57.25 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005201/0.5426, allocations: 420.3 kB / 1.044 GB, free: 56.83 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.5427, allocations: 10.62 kB / 1.044 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.5427, allocations: 9.625 kB / 1.044 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.5428, allocations: 173.4 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5429, allocations: 3.281 kB / 1.044 GB, free: 56.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.5429, allocations: 12.72 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.5431, allocations: 90.77 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5432, allocations: 192 / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.5432, allocations: 6.844 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.5432, allocations: 4.719 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.5434, allocations: 73.09 kB / 1.044 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.5439, allocations: 379.5 kB / 1.044 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.544, allocations: 68.78 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.842e-05/0.5441, allocations: 31.88 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.5442, allocations: 4 kB / 1.045 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.5444, allocations: 95.77 kB / 1.045 GB, free: 56.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5444, allocations: 0 / 1.045 GB, free: 56.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004/0.5448, allocations: 150.3 kB / 1.045 GB, free: 56.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.5448, allocations: 52.34 kB / 1.045 GB, free: 56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.5449, allocations: 129.9 kB / 1.045 GB, free: 55.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.5449, allocations: 31.12 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.545, allocations: 100 kB / 1.045 GB, free: 55.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.545, allocations: 8.828 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.545, allocations: 2.594 kB / 1.045 GB, free: 55.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.5451, allocations: 324.6 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.5452, allocations: 56.8 kB / 1.045 GB, free: 55.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.5454, allocations: 81.47 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.5456, allocations: 131.3 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5457, allocations: 0 / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003836/0.546, allocations: 207.8 kB / 1.046 GB, free: 55.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5461, allocations: 36.83 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5461, allocations: 3.594 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5461, allocations: 0 / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.5462, allocations: 10.05 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5462, allocations: 12.55 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.5465, allocations: 59.86 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5465, allocations: 12.23 kB / 1.046 GB, free: 55.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.727e-05/0.5466, allocations: 122.8 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.5466, allocations: 7.5 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.5466, allocations: 11.91 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5466, allocations: 1.438 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.5466, allocations: 0 / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5466, allocations: 5.688 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.668e-05/0.5467, allocations: 189.9 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5467, allocations: 5.344 kB / 1.046 GB, free: 54.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.5468, allocations: 14.31 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5468, allocations: 3.938 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5468, allocations: 0 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.5469, allocations: 0.9844 kB / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5469, allocations: 0 / 1.046 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.5471, allocations: 140 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.5471, allocations: 83.27 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.5472, allocations: 1.031 kB / 1.047 GB, free: 54.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.88e-05/0.5472, allocations: 16 kB / 1.047 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.5473, allocations: 20.28 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.5473, allocations: 6.469 kB / 1.047 GB, free: 54.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.432e-05/0.5473, allocations: 93.48 kB / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5474, allocations: 0 / 1.047 GB, free: 54.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001986/0.5476, allocations: 29.16 kB / 1.047 GB, free: 54.48 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001105/0.5477, allocations: 113.8 kB / 1.047 GB, free: 54.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000347/0.548, allocations: 182.5 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.548, allocations: 0 / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.5482, allocations: 41.97 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5484, allocations: 11 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.5487, allocations: 215 kB / 1.047 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.5488, allocations: 0.6898 MB / 1.048 GB, free: 53.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.5488, allocations: 13.66 kB / 1.048 GB, free: 53.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.5489, allocations: 12.62 kB / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.5489, allocations: 0 / 1.048 GB, free: 53.39 MB / 0.698 GB Notification: Performance of Templates: time 0.003419/0.5523, allocations: 1.459 MB / 1.049 GB, free: 53.26 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)