Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.676/1.676, allocations: 291.7 MB / 306.8 MB, free: 7.711 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.00103/0.00103, allocations: 190.8 kB / 375.4 MB, free: 5.121 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.542/1.542, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0007362/0.0007362, allocations: 101 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 8 kB / 0.8956 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5651, allocations: 118.1 MB / 1.011 GB, free: 57.78 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001451/0.5666, allocations: 1.247 MB / 1.012 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.5676, allocations: 0.7037 MB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.5677, allocations: 3.312 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.5677, allocations: 7.734 kB / 1.013 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.5678, allocations: 14.58 kB / 1.013 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.5682, allocations: 99.94 kB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.5683, allocations: 88.23 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.5684, allocations: 20.16 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.298e-05/0.5685, allocations: 36.97 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.5686, allocations: 48.62 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.5686, allocations: 2.656 kB / 1.013 GB, free: 57.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.5688, allocations: 83.38 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.5688, allocations: 20.58 kB / 1.013 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.5689, allocations: 39.14 kB / 1.013 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.569, allocations: 114.5 kB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.569, allocations: 0.9062 kB / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.433e-06/0.569, allocations: 0 / 1.013 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.569, allocations: 4.281 kB / 1.013 GB, free: 57.54 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005979/0.5696, allocations: 494.4 kB / 1.014 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.5697, allocations: 10.97 kB / 1.014 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.5697, allocations: 17.27 kB / 1.014 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.957e-05/0.5698, allocations: 187.8 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5699, allocations: 3.406 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5699, allocations: 10.14 kB / 1.014 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.5701, allocations: 85.67 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.5701, allocations: 0.5625 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.5701, allocations: 0.5312 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5701, allocations: 2.656 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.5702, allocations: 57.66 kB / 1.014 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.5707, allocations: 333.9 kB / 1.015 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.5709, allocations: 82.06 kB / 1.015 GB, free: 56.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.571, allocations: 48.81 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.5711, allocations: 3.812 kB / 1.015 GB, free: 56.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.5713, allocations: 108.9 kB / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.5713, allocations: 0.5 kB / 1.015 GB, free: 56.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003792/0.5717, allocations: 174.1 kB / 1.015 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.5717, allocations: 58.72 kB / 1.015 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.5718, allocations: 136.7 kB / 1.015 GB, free: 56.26 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.5718, allocations: 33.92 kB / 1.015 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.5719, allocations: 93.77 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.5719, allocations: 34.66 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.5719, allocations: 6.938 kB / 1.015 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/0.572, allocations: 330.8 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-05/0.572, allocations: 29.78 kB / 1.016 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.5721, allocations: 73.97 kB / 1.016 GB, free: 55.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.5723, allocations: 110 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5723, allocations: 0.9688 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002275/0.5725, allocations: 137 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5726, allocations: 6.719 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5726, allocations: 3.375 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5726, allocations: 3.719 kB / 1.016 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5727, allocations: 19.03 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5727, allocations: 4.406 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.5728, allocations: 16.67 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5728, allocations: 4.656 kB / 1.016 GB, free: 55.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.457e-05/0.5729, allocations: 141 kB / 1.016 GB, free: 55.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.5729, allocations: 14.12 kB / 1.016 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.5733, allocations: 173.1 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5733, allocations: 1.094 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5733, allocations: 0 / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5733, allocations: 0.9375 kB / 1.016 GB, free: 55.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005103/0.5738, allocations: 470.9 kB / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5738, allocations: 0.5 kB / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.88e-05/0.5739, allocations: 15.83 kB / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.5739, allocations: 2.469 kB / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.5739, allocations: 6.844 kB / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.574, allocations: 0 / 1.017 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.574, allocations: 3.938 kB / 1.017 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.5742, allocations: 256.5 kB / 1.017 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.5743, allocations: 88.08 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.447e-05/0.5743, allocations: 4.5 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.5744, allocations: 15.28 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.5745, allocations: 17.55 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.5745, allocations: 6.562 kB / 1.017 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.5745, allocations: 108.4 kB / 1.017 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5745, allocations: 5.625 kB / 1.017 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002846/0.5748, allocations: 40.34 kB / 1.017 GB, free: 54.84 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: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002924/0.5751, allocations: 180.3 kB / 1.017 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.5754, allocations: 97 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5754, allocations: 2.625 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5755, allocations: 61.31 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.5758, allocations: 14.33 kB / 1.018 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.5762, allocations: 266.4 kB / 1.018 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.5764, allocations: 0.7026 MB / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.452e-05/0.5764, allocations: 9.578 kB / 1.019 GB, free: 53.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.5765, allocations: 22.81 kB / 1.019 GB, free: 53.87 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.5765, allocations: 4 kB / 1.019 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.003994/0.5805, allocations: 1.813 MB / 1.02 GB, free: 53.76 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)