Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.26/2.26, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.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.002239/0.002239, allocations: 188 kB / 329.5 MB, free: 1.168 MB / 250.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 2.518/2.518, allocations: 225.6 MB / 0.6001 GB, free: 2.141 MB / 426.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.001081/0.001081, allocations: 95.23 kB / 0.7074 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004842/0.0004844, allocations: 10.31 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2189, allocations: 109.1 MB / 0.9308 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00176/0.2207, allocations: 1.205 MB / 0.9319 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2223, allocations: 0.7017 MB / 0.9326 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.696e-05/0.2224, allocations: 0 / 0.9326 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2224, allocations: 11.92 kB / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.2225, allocations: 7.875 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00056/0.2231, allocations: 95.77 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.2232, allocations: 79.75 kB / 0.9328 GB, free: 22.97 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.2234, allocations: 15.98 kB / 0.9328 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.2235, allocations: 35.84 kB / 0.9329 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.2236, allocations: 39.83 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.2236, allocations: 4 kB / 0.9329 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.2238, allocations: 79.91 kB / 0.933 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.2239, allocations: 19.86 kB / 0.933 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.2239, allocations: 33.7 kB / 0.933 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2241, allocations: 112 kB / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2241, allocations: 0 / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.926e-06/0.2241, allocations: 0 / 0.9331 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.2242, allocations: 7.938 kB / 0.9331 GB, free: 22.62 MB / 0.5886 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.0008035/0.225, allocations: 442.7 kB / 0.9336 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.225, allocations: 12.03 kB / 0.9336 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.2251, allocations: 8.844 kB / 0.9336 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2252, allocations: 180.3 kB / 0.9338 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2253, allocations: 384 / 0.9338 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2253, allocations: 8.375 kB / 0.9338 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.2255, allocations: 81.95 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2256, allocations: 3.938 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2256, allocations: 0 / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2256, allocations: 0 / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.2258, allocations: 47.97 kB / 0.9339 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006146/0.2264, allocations: 324.6 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2267, allocations: 70.58 kB / 0.9343 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2268, allocations: 36.84 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.2268, allocations: 4.141 kB / 0.9343 GB, free: 21.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.2271, allocations: 91.36 kB / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.274e-06/0.2271, allocations: 0 / 0.9344 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005538/0.2277, allocations: 165.8 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.2277, allocations: 59.41 kB / 0.9346 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2279, allocations: 121.9 kB / 0.9347 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2279, allocations: 33.64 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.2279, allocations: 92.28 kB / 0.9348 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.228, allocations: 19.8 kB / 0.9349 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.228, allocations: 11.88 kB / 0.9349 GB, free: 20.63 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.2281, allocations: 326.8 kB / 0.9352 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2282, allocations: 27.98 kB / 0.9352 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2283, allocations: 65.14 kB / 0.9353 GB, free: 20.19 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.2285, allocations: 35.98 kB / 0.9353 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2285, allocations: 0 / 0.9353 GB, free: 20.16 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003375/0.2288, allocations: 137.5 kB / 0.9354 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.2289, allocations: 8 kB / 0.9355 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2289, allocations: 0 / 0.9355 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.2289, allocations: 4 kB / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2292, allocations: 28.05 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2292, allocations: 0 / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.2294, allocations: 23.83 kB / 0.9355 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.2294, allocations: 8 kB / 0.9355 GB, free: 19.95 MB / 0.5886 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 0.0001036/0.2295, allocations: 117.8 kB / 0.9356 GB, free: 19.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2295, allocations: 11.84 kB / 0.9356 GB, free: 19.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.23, allocations: 150 kB / 0.9358 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.23, allocations: 3.938 kB / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.23, allocations: 0 / 0.9358 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.23, allocations: 7.984 kB / 0.9358 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.2308, allocations: 438.3 kB / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2308, allocations: 4 kB / 0.9362 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.2309, allocations: 11.98 kB / 0.9362 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2309, allocations: 0 / 0.9362 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.231, allocations: 0 / 0.9362 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.231, allocations: 0 / 0.9362 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.231, allocations: 7.938 kB / 0.9362 GB, free: 19.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.2314, allocations: 235.3 kB / 0.9365 GB, free: 18.89 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.2315, allocations: 88.95 kB / 0.9365 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.2315, allocations: 4 kB / 0.9365 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2317, allocations: 11.98 kB / 0.9366 GB, free: 18.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.2318, allocations: 15.92 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.2318, allocations: 4 kB / 0.9366 GB, free: 18.75 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.2319, allocations: 96.02 kB / 0.9367 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2319, allocations: 0 / 0.9367 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004121/0.2323, allocations: 43.98 kB / 0.9367 GB, free: 18.61 MB / 0.5886 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.0004315/0.2328, allocations: 175.7 kB / 0.9369 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004153/0.2332, allocations: 95.77 kB / 0.937 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2332, allocations: 0 / 0.937 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2334, allocations: 47.92 kB / 0.937 GB, free: 18.31 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2338, allocations: 16.42 kB / 0.937 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.2344, allocations: 235.2 kB / 0.9373 GB, free: 18.03 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.2346, allocations: 0.697 MB / 0.9379 GB, free: 17.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.474e-05/0.2346, allocations: 12.42 kB / 0.9379 GB, free: 17.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.2347, allocations: 23.38 kB / 0.938 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.2347, allocations: 0 / 0.938 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.005786/0.2405, allocations: 1.624 MB / 0.9396 GB, free: 15.65 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)