Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") 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.693/1.693, allocations: 292.6 MB / 307.8 MB, free: 7.141 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.001142/0.001142, allocations: 176.9 kB / 376.5 MB, free: 4.461 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.498/1.498, allocations: 225.7 MB / 0.655 GB, free: 13.15 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.0008215/0.0008218, allocations: 96.75 kB / 0.7711 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005093/0.0005094, allocations: 12 kB / 0.897 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.652, allocations: 118.2 MB / 1.012 GB, free: 57.67 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001483/0.6535, allocations: 1.232 MB / 1.014 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.6546, allocations: 0.7194 MB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.6546, allocations: 3.812 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.6547, allocations: 7.219 kB / 1.014 GB, free: 57.55 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.6548, allocations: 10.66 kB / 1.014 GB, free: 57.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.6552, allocations: 103.4 kB / 1.014 GB, free: 57.53 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6553, allocations: 88.84 kB / 1.015 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.6554, allocations: 13.27 kB / 1.015 GB, free: 57.51 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.6555, allocations: 41.84 kB / 1.015 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.075e-05/0.6556, allocations: 47.08 kB / 1.015 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.6556, allocations: 2.812 kB / 1.015 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.6558, allocations: 87.11 kB / 1.015 GB, free: 57.49 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.6558, allocations: 16.58 kB / 1.015 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.6559, allocations: 68.34 kB / 1.015 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.656, allocations: 114.7 kB / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.656, allocations: 0 / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6561, allocations: 0 / 1.015 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6561, allocations: 0 / 1.015 GB, free: 57.43 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.0005987/0.6567, allocations: 499 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.6567, allocations: 6.156 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.6568, allocations: 11.97 kB / 1.015 GB, free: 56.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.6569, allocations: 192.8 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6569, allocations: 5.812 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.6569, allocations: 6.609 kB / 1.016 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.6571, allocations: 87.2 kB / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.6571, allocations: 0 / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6571, allocations: 6.688 kB / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.6571, allocations: 0 / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.6573, allocations: 52.88 kB / 1.016 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.6577, allocations: 341.3 kB / 1.016 GB, free: 56.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.6579, allocations: 79.5 kB / 1.016 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.658, allocations: 41.83 kB / 1.016 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.6581, allocations: 2.469 kB / 1.016 GB, free: 56.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.6583, allocations: 110.1 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.6583, allocations: 1.5 kB / 1.016 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0003795/0.6587, allocations: 182.4 kB / 1.016 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.6587, allocations: 54.12 kB / 1.016 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.6588, allocations: 146.1 kB / 1.017 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.6588, allocations: 32.55 kB / 1.017 GB, free: 56.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/0.6589, allocations: 91.95 kB / 1.017 GB, free: 56.03 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.6589, allocations: 30.62 kB / 1.017 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.6589, allocations: 3.812 kB / 1.017 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.319e-05/0.6589, allocations: 329.8 kB / 1.017 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.659, allocations: 33.88 kB / 1.017 GB, free: 55.69 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.871e-05/0.6591, allocations: 71.17 kB / 1.017 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.6593, allocations: 106.9 kB / 1.017 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6593, allocations: 0 / 1.017 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002099/0.6595, allocations: 139.7 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.6595, allocations: 4.938 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.6595, allocations: 3.562 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.6595, allocations: 3.656 kB / 1.017 GB, free: 55.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.6596, allocations: 22.89 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6597, allocations: 3.188 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.65e-05/0.6598, allocations: 14.73 kB / 1.017 GB, free: 55.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.6598, allocations: 8.188 kB / 1.017 GB, free: 55.54 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.882e-05/0.6599, allocations: 136.9 kB / 1.018 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.6599, allocations: 12.61 kB / 1.018 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.6602, allocations: 170.8 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.6602, allocations: 7.344 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6602, allocations: 3.375 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.6602, allocations: 1.094 kB / 1.018 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.6607, allocations: 472.3 kB / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.6607, allocations: 0 / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.502e-05/0.6608, allocations: 16.59 kB / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.6608, allocations: 0 / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.6608, allocations: 3.141 kB / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6609, allocations: 6.25 kB / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6609, allocations: 3.938 kB / 1.018 GB, free: 55.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.6611, allocations: 255.6 kB / 1.019 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.6611, allocations: 89.67 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.6612, allocations: 2.344 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.6613, allocations: 15.2 kB / 1.019 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.6614, allocations: 16.19 kB / 1.019 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6614, allocations: 6.75 kB / 1.019 GB, free: 54.81 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.6614, allocations: 110.4 kB / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6614, allocations: 0 / 1.019 GB, free: 54.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002742/0.6617, allocations: 46.09 kB / 1.019 GB, free: 54.73 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.0003077/0.662, allocations: 175.8 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.6623, allocations: 99.44 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.6623, allocations: 0.9375 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.6624, allocations: 58.22 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.6627, allocations: 20.64 kB / 1.019 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.6631, allocations: 271.4 kB / 1.019 GB, free: 54.46 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.6632, allocations: 0.7031 MB / 1.02 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.22e-05/0.6632, allocations: 13.45 kB / 1.02 GB, free: 53.76 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.6633, allocations: 13.22 kB / 1.02 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.6633, allocations: 0 / 1.02 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.003914/0.6672, allocations: 1.826 MB / 1.022 GB, free: 53.65 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)