Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 297.4 MB / 312.6 MB, free: 2.945 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.001629/0.001629, allocations: 186 kB / 382.3 MB, free: 14.86 MB / 314.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.401/1.401, allocations: 225.7 MB / 0.6617 GB, free: 7.262 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.0009367/0.0009365, allocations: 93.97 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 13.34 kB / 0.9058 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6977, allocations: 119.2 MB / 1.022 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001516/0.6993, allocations: 1.22 MB / 1.023 GB, free: 56.96 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.7004, allocations: 1.016 MB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.7004, allocations: 4.5 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.7005, allocations: 3.938 kB / 1.024 GB, free: 56.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.476e-05/0.7006, allocations: 18.53 kB / 1.024 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.701, allocations: 101.9 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.895e-05/0.7011, allocations: 79 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.638e-05/0.7012, allocations: 14.88 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.7013, allocations: 33.47 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.544e-05/0.7014, allocations: 37.17 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.7014, allocations: 5.375 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.7016, allocations: 88.58 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.7016, allocations: 18.59 kB / 1.025 GB, free: 56.08 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.7017, allocations: 52.2 kB / 1.025 GB, free: 56.04 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.7019, allocations: 146.3 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.7019, allocations: 1.188 kB / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7019, allocations: 0 / 1.025 GB, free: 56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.7019, allocations: 5.312 kB / 1.025 GB, free: 56 MB / 0.698 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.0005613/0.7025, allocations: 455.7 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.7025, allocations: 8.25 kB / 1.025 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.7026, allocations: 12.05 kB / 1.025 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/0.7027, allocations: 179.4 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.7027, allocations: 3.688 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.7027, allocations: 9.719 kB / 1.026 GB, free: 55.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.7029, allocations: 76.7 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7029, allocations: 0 / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7029, allocations: 4.797 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.7029, allocations: 1.031 kB / 1.026 GB, free: 55.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.703, allocations: 45.83 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.7035, allocations: 324.7 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.7037, allocations: 64.88 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.7037, allocations: 39.5 kB / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.7038, allocations: 0 / 1.026 GB, free: 54.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.704, allocations: 100.1 kB / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.704, allocations: 0 / 1.026 GB, free: 54.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003523/0.7043, allocations: 164.8 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.7044, allocations: 52.75 kB / 1.027 GB, free: 54.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.7045, allocations: 124.9 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.7045, allocations: 30.77 kB / 1.027 GB, free: 54.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.215e-05/0.7045, allocations: 94.25 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.7046, allocations: 28.52 kB / 1.027 GB, free: 54.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.7046, allocations: 7.938 kB / 1.027 GB, free: 54.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.7046, allocations: 324.2 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.7047, allocations: 31.77 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.7048, allocations: 70.78 kB / 1.027 GB, free: 54.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.705, allocations: 103 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.705, allocations: 1.406 kB / 1.027 GB, free: 54.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002256/0.7052, allocations: 136.8 kB / 1.027 GB, free: 53.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.7052, allocations: 10.78 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7053, allocations: 2.125 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7053, allocations: 1.375 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.7054, allocations: 16.73 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7054, allocations: 5.312 kB / 1.027 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.7055, allocations: 20.33 kB / 1.027 GB, free: 53.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.7055, allocations: 10.81 kB / 1.027 GB, free: 53.92 MB / 0.698 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 6.247e-05/0.7056, allocations: 125 kB / 1.028 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.7056, allocations: 10.78 kB / 1.028 GB, free: 53.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.7059, allocations: 146.8 kB / 1.028 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.7059, allocations: 9.656 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.7059, allocations: 0.9844 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.7059, allocations: 1.891 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.7064, allocations: 438.4 kB / 1.028 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7064, allocations: 3.406 kB / 1.028 GB, free: 53.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-05/0.7065, allocations: 17.39 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.7065, allocations: 0.6875 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.7065, allocations: 1.062 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7065, allocations: 1.406 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7065, allocations: 3.938 kB / 1.028 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.7068, allocations: 231.9 kB / 1.028 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.7068, allocations: 84.52 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.7068, allocations: 4.969 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.7069, allocations: 10.75 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.707, allocations: 19.55 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.707, allocations: 13.08 kB / 1.029 GB, free: 53.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.687e-05/0.7071, allocations: 93.11 kB / 1.029 GB, free: 53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7071, allocations: 0 / 1.029 GB, free: 53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002885/0.7074, allocations: 39.28 kB / 1.029 GB, free: 52.99 MB / 0.698 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.0002806/0.7076, allocations: 179.3 kB / 1.029 GB, free: 52.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.7079, allocations: 86.95 kB / 1.029 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.7079, allocations: 4.062 kB / 1.029 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.708, allocations: 53.56 kB / 1.029 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.7083, allocations: 18.91 kB / 1.029 GB, free: 52.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.7086, allocations: 232.6 kB / 1.029 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.849e-05/0.7087, allocations: 0.696 MB / 1.03 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.7088, allocations: 7.906 kB / 1.03 GB, free: 51.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.7088, allocations: 19.75 kB / 1.03 GB, free: 51.96 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.7088, allocations: 4 kB / 1.03 GB, free: 51.95 MB / 0.698 GB Notification: Performance of Templates: time 0.003852/0.7127, allocations: 1.654 MB / 1.032 GB, free: 51.82 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)