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.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.746/1.746, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.001288/0.001289, allocations: 184 kB / 375.4 MB, free: 5.113 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.488/1.488, allocations: 225.6 MB / 0.6538 GB, free: 13.63 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.0009394/0.0009397, allocations: 102 kB / 0.7699 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 16 kB / 0.8956 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6479/0.6482, allocations: 118.1 MB / 1.011 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002277/0.6506, allocations: 1.216 MB / 1.012 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.6521, allocations: 0.6963 MB / 1.013 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.6522, allocations: 0.9062 kB / 1.013 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.6523, allocations: 3.938 kB / 1.013 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.6524, allocations: 16.95 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006428/0.6531, allocations: 95.95 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.6533, allocations: 73.98 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.6534, allocations: 10.97 kB / 1.013 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.6535, allocations: 37.88 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.414e-05/0.6537, allocations: 32.94 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.6537, allocations: 6.844 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.654, allocations: 82.11 kB / 1.013 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.654, allocations: 21.73 kB / 1.013 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.6541, allocations: 32.55 kB / 1.013 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.6543, allocations: 104.8 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6544, allocations: 0 / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6544, allocations: 2.156 kB / 1.013 GB, free: 57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6544, allocations: 0 / 1.013 GB, free: 57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007548/0.6552, allocations: 464.9 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.6552, allocations: 8.5 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.6553, allocations: 7.781 kB / 1.014 GB, free: 56.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.6554, allocations: 176.7 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.6554, allocations: 7.25 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.6555, allocations: 8.156 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.6557, allocations: 74.5 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6557, allocations: 0 / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.6558, allocations: 8.469 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6558, allocations: 5.672 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.656, allocations: 38.78 kB / 1.014 GB, free: 56.31 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.6566, allocations: 328.6 kB / 1.014 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.6569, allocations: 64.86 kB / 1.014 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.657, allocations: 39.12 kB / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.6571, allocations: 5.031 kB / 1.014 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.6574, allocations: 95.47 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.6574, allocations: 1.656 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004879/0.6579, allocations: 162.6 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.6579, allocations: 54.78 kB / 1.015 GB, free: 55.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.463e-05/0.658, allocations: 126.2 kB / 1.015 GB, free: 55.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.658, allocations: 30.28 kB / 1.015 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.6581, allocations: 91.88 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.6581, allocations: 30.69 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.6582, allocations: 5.312 kB / 1.015 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.6582, allocations: 323.9 kB / 1.015 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.6583, allocations: 35.83 kB / 1.015 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.6584, allocations: 68.62 kB / 1.015 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.6586, allocations: 101.6 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6587, allocations: 0 / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002812/0.6589, allocations: 133.6 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.659, allocations: 6.938 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.659, allocations: 0.9375 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.659, allocations: 3.719 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.6591, allocations: 24.23 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.6592, allocations: 4.891 kB / 1.016 GB, free: 55.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.6593, allocations: 21.59 kB / 1.016 GB, free: 55.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.6593, allocations: 4.312 kB / 1.016 GB, free: 55.15 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.079e-05/0.6594, allocations: 121.8 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.6595, allocations: 6.75 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.6598, allocations: 153.6 kB / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6598, allocations: 4.375 kB / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6598, allocations: 3.469 kB / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6599, allocations: 0 / 1.016 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.6605, allocations: 443.8 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6605, allocations: 0.5 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.6606, allocations: 12.84 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6606, allocations: 5.328 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6606, allocations: 3.281 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.6606, allocations: 2.781 kB / 1.016 GB, free: 54.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6606, allocations: 5.094 kB / 1.016 GB, free: 54.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.6608, allocations: 235 kB / 1.017 GB, free: 54.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.595e-05/0.6609, allocations: 88.33 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.6609, allocations: 0 / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.661, allocations: 14.11 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.6611, allocations: 15.17 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.6611, allocations: 6.016 kB / 1.017 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.6611, allocations: 101.4 kB / 1.017 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6611, allocations: 1.188 kB / 1.017 GB, free: 54.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002792/0.6614, allocations: 38.84 kB / 1.017 GB, free: 54.35 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0003209/0.6618, allocations: 177.8 kB / 1.017 GB, free: 54.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.662, allocations: 92.95 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.662, allocations: 2.438 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.6621, allocations: 47.95 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.6624, allocations: 17.23 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.6628, allocations: 232.8 kB / 1.017 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.6629, allocations: 0.6943 MB / 1.018 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.139e-05/0.663, allocations: 13.84 kB / 1.018 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.663, allocations: 16.45 kB / 1.018 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.663, allocations: 0 / 1.018 GB, free: 53.38 MB / 0.7136 GB Notification: Performance of Templates: time 0.004127/0.6671, allocations: 1.622 MB / 1.02 GB, free: 53.29 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)