Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009941/0.0009942, allocations: 186.4 kB / 330.8 MB, free: 488 kB / 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 1.515/1.515, allocations: 225.7 MB / 0.6016 GB, free: 1.672 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.0007758/0.0007757, allocations: 95.56 kB / 0.709 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003677, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1795, allocations: 109.2 MB / 0.9327 GB, free: 6.285 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001458/0.181, allocations: 1.224 MB / 0.9339 GB, free: 5.051 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.182, allocations: 1.011 MB / 0.9349 GB, free: 3.961 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.1821, allocations: 0 / 0.9349 GB, free: 3.961 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1821, allocations: 0 / 0.9349 GB, free: 3.961 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 9.505e-05/0.1822, allocations: 23.86 kB / 0.935 GB, free: 3.938 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.1827, allocations: 103.8 kB / 0.9351 GB, free: 3.836 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.211e-05/0.1828, allocations: 79.72 kB / 0.9351 GB, free: 3.758 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.1829, allocations: 15.97 kB / 0.9351 GB, free: 3.742 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.616e-05/0.183, allocations: 35.8 kB / 0.9352 GB, free: 3.707 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.183, allocations: 39.83 kB / 0.9352 GB, free: 3.668 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1831, allocations: 4 kB / 0.9352 GB, free: 3.664 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1832, allocations: 87.91 kB / 0.9353 GB, free: 3.578 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.1833, allocations: 15.92 kB / 0.9353 GB, free: 3.562 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.1833, allocations: 49.56 kB / 0.9354 GB, free: 3.508 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1835, allocations: 143.8 kB / 0.9355 GB, free: 3.367 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1835, allocations: 0 / 0.9355 GB, free: 3.367 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1835, allocations: 0 / 0.9355 GB, free: 3.367 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1835, allocations: 0 / 0.9355 GB, free: 3.367 MB / 0.573 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.0005337/0.184, allocations: 458.7 kB / 0.9359 GB, free: 2.859 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.1841, allocations: 13.11 kB / 0.936 GB, free: 2.848 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.975e-05/0.1841, allocations: 8.844 kB / 0.936 GB, free: 2.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.873e-05/0.1842, allocations: 188.2 kB / 0.9361 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1842, allocations: 384 / 0.9361 GB, free: 2.617 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1842, allocations: 8.375 kB / 0.9361 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1844, allocations: 81.89 kB / 0.9362 GB, free: 2.523 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.1844, allocations: 4 kB / 0.9362 GB, free: 2.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1844, allocations: 4 kB / 0.9362 GB, free: 2.516 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1844, allocations: 3.984 kB / 0.9362 GB, free: 2.512 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1846, allocations: 39.97 kB / 0.9363 GB, free: 2.473 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.185, allocations: 324.7 kB / 0.9366 GB, free: 2.105 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1851, allocations: 66.58 kB / 0.9366 GB, free: 2.031 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.992e-05/0.1852, allocations: 36.84 kB / 0.9367 GB, free: 1.992 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1852, allocations: 4 kB / 0.9367 GB, free: 1.988 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.1854, allocations: 95.27 kB / 0.9368 GB, free: 1.883 MB / 0.573 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1854, allocations: 0 / 0.9368 GB, free: 1.883 MB / 0.573 GB Notification: Performance of matching and sorting (n=10): time 0.000335/0.1858, allocations: 169.4 kB / 0.9369 GB, free: 1.711 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1858, allocations: 55.34 kB / 0.937 GB, free: 1.645 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.1859, allocations: 129.8 kB / 0.9371 GB, free: 1.508 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1859, allocations: 29.7 kB / 0.9371 GB, free: 1.473 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 2.942e-05/0.1859, allocations: 92.53 kB / 0.9372 GB, free: 1.375 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1859, allocations: 27.69 kB / 0.9373 GB, free: 1.348 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.186, allocations: 0 / 0.9373 GB, free: 1.348 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.338e-05/0.186, allocations: 326.8 kB / 0.9376 GB, free: 1.02 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.715e-05/0.1861, allocations: 27.98 kB / 0.9376 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1862, allocations: 65.14 kB / 0.9377 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1863, allocations: 105.1 kB / 0.9378 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1863, allocations: 0 / 0.9378 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001949/0.1865, allocations: 137.4 kB / 0.9379 GB, free: 0.6484 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1865, allocations: 7.906 kB / 0.9379 GB, free: 0.6406 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1865, allocations: 4 kB / 0.9379 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1866, allocations: 128 / 0.9379 GB, free: 0.6367 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1867, allocations: 23.92 kB / 0.9379 GB, free: 0.6133 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1867, allocations: 4 kB / 0.9379 GB, free: 0.6094 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.1868, allocations: 19.83 kB / 0.9379 GB, free: 0.5898 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1868, allocations: 8 kB / 0.938 GB, free: 0.582 MB / 0.573 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.1869, allocations: 126.4 kB / 0.9381 GB, free: 460 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.1869, allocations: 7.906 kB / 0.9381 GB, free: 452 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.1871, allocations: 153.9 kB / 0.9382 GB, free: 292 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1872, allocations: 0 / 0.9382 GB, free: 292 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1872, allocations: 4 kB / 0.9382 GB, free: 288 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1872, allocations: 0 / 0.9382 GB, free: 288 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.1877, allocations: 442.3 kB / 0.9387 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1877, allocations: 0 / 0.9387 GB, free: 15.79 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.886e-05/0.1877, allocations: 11.98 kB / 0.9387 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1878, allocations: 96 / 0.9387 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1878, allocations: 7.984 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1878, allocations: 0 / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1878, allocations: 3.938 kB / 0.9387 GB, free: 15.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1881, allocations: 235.3 kB / 0.9389 GB, free: 15.52 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.1881, allocations: 92.95 kB / 0.939 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1882, allocations: 0 / 0.939 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1883, allocations: 11.98 kB / 0.939 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.1883, allocations: 16.3 kB / 0.939 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1884, allocations: 4 kB / 0.939 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.107e-05/0.1884, allocations: 99.27 kB / 0.9391 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1884, allocations: 0 / 0.9391 GB, free: 15.29 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002657/0.1887, allocations: 47.92 kB / 0.9392 GB, free: 15.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002993/0.189, allocations: 172.1 kB / 0.9393 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1892, allocations: 103.7 kB / 0.9394 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1893, allocations: 0 / 0.9394 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1894, allocations: 43.98 kB / 0.9395 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.1896, allocations: 19.89 kB / 0.9395 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.19, allocations: 239.3 kB / 0.9397 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.1903, allocations: 0.6926 MB / 0.9404 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.911e-05/0.1904, allocations: 12.42 kB / 0.9404 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1904, allocations: 19.44 kB / 0.9404 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.3e-07/0.1904, allocations: 0 / 0.9404 GB, free: 13.9 MB / 0.5886 GB Notification: Performance of Templates: time 0.003844/0.1943, allocations: 1.655 MB / 0.942 GB, free: 12.25 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)