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.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.398/2.398, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.001377/0.001377, allocations: 196.6 kB / 329.5 MB, free: 1.164 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.738/2.738, allocations: 225.6 MB / 0.6001 GB, free: 2.199 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.0009401/0.0009401, allocations: 100.8 kB / 0.7074 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0009646/0.0009648, allocations: 10.78 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2018, allocations: 109.1 MB / 0.9308 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001719/0.2036, allocations: 1.213 MB / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.2051, allocations: 0.6978 MB / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.2052, allocations: 0 / 0.9326 GB, free: 23.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2052, allocations: 7.922 kB / 0.9326 GB, free: 23.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2053, allocations: 15.86 kB / 0.9326 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.2059, allocations: 99.7 kB / 0.9327 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.206, allocations: 71.77 kB / 0.9328 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.2061, allocations: 19.98 kB / 0.9328 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.2062, allocations: 39.83 kB / 0.9329 GB, free: 22.99 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.2063, allocations: 27.91 kB / 0.9329 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.2064, allocations: 4 kB / 0.9329 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.2066, allocations: 87.84 kB / 0.933 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.2066, allocations: 15.91 kB / 0.933 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.2067, allocations: 37.7 kB / 0.933 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2069, allocations: 108 kB / 0.9331 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2069, allocations: 4 kB / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2069, allocations: 0 / 0.9331 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2069, allocations: 0 / 0.9331 GB, free: 22.7 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.0007548/0.2077, allocations: 442.7 kB / 0.9336 GB, free: 22.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.2077, allocations: 8.031 kB / 0.9336 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.2078, allocations: 16.78 kB / 0.9336 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.2079, allocations: 188.3 kB / 0.9338 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2079, allocations: 4.375 kB / 0.9338 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.208, allocations: 4.375 kB / 0.9338 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2082, allocations: 77.95 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2082, allocations: 0 / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.2083, allocations: 7.984 kB / 0.9339 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2083, allocations: 0 / 0.9339 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2085, allocations: 51.91 kB / 0.9339 GB, free: 21.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.2091, allocations: 320.6 kB / 0.9342 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.2094, allocations: 66.64 kB / 0.9343 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2095, allocations: 40.78 kB / 0.9343 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.2096, allocations: 4 kB / 0.9343 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.2098, allocations: 91.36 kB / 0.9344 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 2.615e-06/0.2099, allocations: 0 / 0.9344 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0005568/0.2104, allocations: 173.4 kB / 0.9346 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.2105, allocations: 51.41 kB / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2106, allocations: 125.8 kB / 0.9347 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2106, allocations: 29.7 kB / 0.9348 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.2107, allocations: 100.4 kB / 0.9349 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.2107, allocations: 15.81 kB / 0.9349 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.2107, allocations: 7.938 kB / 0.9349 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.2108, allocations: 326.8 kB / 0.9352 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.2109, allocations: 31.98 kB / 0.9352 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2111, allocations: 69.06 kB / 0.9353 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.2112, allocations: 36 kB / 0.9353 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.2112, allocations: 0 / 0.9353 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003503/0.2116, allocations: 129.4 kB / 0.9354 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2116, allocations: 4 kB / 0.9355 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2116, allocations: 4 kB / 0.9355 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2117, allocations: 4.125 kB / 0.9355 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2119, allocations: 19.92 kB / 0.9355 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2119, allocations: 4 kB / 0.9355 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2121, allocations: 23.83 kB / 0.9355 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.2121, allocations: 4 kB / 0.9355 GB, free: 20.02 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.000103/0.2122, allocations: 121.8 kB / 0.9356 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.2122, allocations: 15.89 kB / 0.9356 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004446/0.2127, allocations: 146 kB / 0.9358 GB, free: 19.73 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.2127, allocations: 7.922 kB / 0.9358 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2127, allocations: 0 / 0.9358 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.2127, allocations: 0 / 0.9358 GB, free: 19.72 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007521/0.2135, allocations: 438.4 kB / 0.9362 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2135, allocations: 0 / 0.9362 GB, free: 19.23 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2136, allocations: 11.98 kB / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2137, allocations: 0 / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.2137, allocations: 4 kB / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2137, allocations: 0 / 0.9362 GB, free: 19.22 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2137, allocations: 3.938 kB / 0.9362 GB, free: 19.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.2141, allocations: 243.3 kB / 0.9365 GB, free: 18.96 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.2142, allocations: 93.41 kB / 0.9365 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.2142, allocations: 0 / 0.9365 GB, free: 18.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.2144, allocations: 15.98 kB / 0.9366 GB, free: 18.84 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.2145, allocations: 15.92 kB / 0.9366 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.2145, allocations: 11.94 kB / 0.9366 GB, free: 18.81 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.116e-05/0.2146, allocations: 108 kB / 0.9367 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2146, allocations: 0 / 0.9367 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004002/0.215, allocations: 40 kB / 0.9367 GB, free: 18.66 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.0004055/0.2154, allocations: 164 kB / 0.9369 GB, free: 18.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.2158, allocations: 91.83 kB / 0.937 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2158, allocations: 0 / 0.937 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.2159, allocations: 47.92 kB / 0.937 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.2163, allocations: 16.14 kB / 0.937 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.2169, allocations: 231.4 kB / 0.9373 GB, free: 18.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.2171, allocations: 0.7042 MB / 0.9379 GB, free: 17.37 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.926e-05/0.2172, allocations: 12.42 kB / 0.938 GB, free: 17.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.2173, allocations: 15.38 kB / 0.938 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of SimCode: time 1.342e-06/0.2173, allocations: 0 / 0.938 GB, free: 17.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.005807/0.2231, allocations: 1.623 MB / 0.9396 GB, free: 15.72 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)