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.Love1998Light2.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.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.882/1.882, allocations: 291.7 MB / 306.8 MB, free: 7.691 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.001085/0.001085, allocations: 190.8 kB / 375.4 MB, free: 5.137 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.375/1.375, allocations: 225.7 MB / 0.6538 GB, free: 13.61 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.0007377/0.0007378, allocations: 97 kB / 0.7699 GB, free: 50.25 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005656, allocations: 12 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6236/0.6242, allocations: 118.1 MB / 1.011 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001545/0.6258, allocations: 1.214 MB / 1.012 GB, free: 57.22 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.6269, allocations: 0.6983 MB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.6269, allocations: 0.5938 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.071e-05/0.6269, allocations: 6.562 kB / 1.013 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.352e-05/0.627, allocations: 12.11 kB / 1.013 GB, free: 57.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.6275, allocations: 100.9 kB / 1.013 GB, free: 57.12 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.287e-05/0.6276, allocations: 72.64 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.57e-05/0.6277, allocations: 17.27 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.6278, allocations: 30.34 kB / 1.013 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.6278, allocations: 40.06 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6279, allocations: 3 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.628, allocations: 83.77 kB / 1.013 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.628, allocations: 17.84 kB / 1.013 GB, free: 57.08 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.6281, allocations: 33.08 kB / 1.013 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.6282, allocations: 104.1 kB / 1.013 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.6283, allocations: 2.562 kB / 1.013 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6283, allocations: 0 / 1.013 GB, free: 57.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.6283, allocations: 4.781 kB / 1.013 GB, free: 57.04 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.0005787/0.6289, allocations: 456.6 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.6289, allocations: 12.06 kB / 1.014 GB, free: 56.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.6289, allocations: 8.938 kB / 1.014 GB, free: 56.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.629, allocations: 177.2 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.6291, allocations: 6.281 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.6291, allocations: 14.33 kB / 1.014 GB, free: 56.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.6293, allocations: 74.66 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.6293, allocations: 3.938 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.6293, allocations: 6 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6293, allocations: 0 / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.6294, allocations: 40.45 kB / 1.014 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.6299, allocations: 325.4 kB / 1.014 GB, free: 56.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.63, allocations: 71.55 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.6301, allocations: 34.45 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.6301, allocations: 4.328 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.6303, allocations: 94.09 kB / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6303, allocations: 0 / 1.015 GB, free: 56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003453/0.6307, allocations: 165 kB / 1.015 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.6308, allocations: 54.09 kB / 1.015 GB, free: 55.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.6308, allocations: 129.9 kB / 1.015 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.6309, allocations: 29.2 kB / 1.015 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.6309, allocations: 94.56 kB / 1.015 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.6309, allocations: 26.3 kB / 1.015 GB, free: 55.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.6309, allocations: 7.875 kB / 1.015 GB, free: 55.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/0.631, allocations: 326.8 kB / 1.015 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.875e-05/0.6311, allocations: 25.36 kB / 1.015 GB, free: 55.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.413e-05/0.6312, allocations: 72.03 kB / 1.015 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6313, allocations: 102.4 kB / 1.016 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6313, allocations: 0 / 1.016 GB, free: 55.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002062/0.6315, allocations: 138.8 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.6316, allocations: 2.688 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.6316, allocations: 3.438 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6316, allocations: 4.312 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.6317, allocations: 22.3 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.6317, allocations: 3.625 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-05/0.6318, allocations: 15.39 kB / 1.016 GB, free: 55.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.6318, allocations: 7.812 kB / 1.016 GB, free: 55.2 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 6.678e-05/0.6319, allocations: 123.1 kB / 1.016 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.6319, allocations: 14.97 kB / 1.016 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.6322, allocations: 144.8 kB / 1.016 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.6322, allocations: 6.688 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6322, allocations: 3.156 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6322, allocations: 0 / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.6327, allocations: 444.2 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6327, allocations: 1.219 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.6328, allocations: 16.45 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.6328, allocations: 1.5 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.6328, allocations: 2.781 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6328, allocations: 3.422 kB / 1.016 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6328, allocations: 3.938 kB / 1.016 GB, free: 54.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.633, allocations: 238.1 kB / 1.017 GB, free: 54.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.6331, allocations: 81.67 kB / 1.017 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.6331, allocations: 1.625 kB / 1.017 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.6332, allocations: 18.23 kB / 1.017 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.6333, allocations: 15.19 kB / 1.017 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.6333, allocations: 5.406 kB / 1.017 GB, free: 54.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.6334, allocations: 104 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6334, allocations: 1.688 kB / 1.017 GB, free: 54.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002739/0.6336, allocations: 44.81 kB / 1.017 GB, free: 54.39 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.0003076/0.634, allocations: 171.5 kB / 1.017 GB, free: 54.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.6342, allocations: 94.25 kB / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6342, allocations: 0 / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/0.6343, allocations: 45.66 kB / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.6346, allocations: 17.58 kB / 1.017 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.635, allocations: 233.6 kB / 1.017 GB, free: 54.13 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.6351, allocations: 0.6935 MB / 1.018 GB, free: 53.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.426e-05/0.6351, allocations: 12.62 kB / 1.018 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.6352, allocations: 19.34 kB / 1.018 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.6352, allocations: 0 / 1.018 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.003885/0.6391, allocations: 1.625 MB / 1.02 GB, free: 53.33 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)