Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") 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.729/1.729, 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.001084/0.001084, allocations: 186 kB / 382.3 MB, free: 14.83 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.416/1.416, allocations: 225.7 MB / 0.6617 GB, free: 7.23 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.0007275/0.0007275, allocations: 92.17 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003521, allocations: 12.66 kB / 0.9058 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.5999, allocations: 119.2 MB / 1.022 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001491/0.6015, allocations: 1.222 MB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.6026, allocations: 1.023 MB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.642e-05/0.6027, allocations: 0 / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.6027, allocations: 7.359 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.6028, allocations: 10.62 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.6032, allocations: 108.1 kB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.6033, allocations: 82.45 kB / 1.025 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.6034, allocations: 13.88 kB / 1.025 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.6035, allocations: 28.41 kB / 1.025 GB, free: 56.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.895e-05/0.6036, allocations: 36.53 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.6036, allocations: 3.125 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.6038, allocations: 87.81 kB / 1.025 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.6038, allocations: 17.89 kB / 1.025 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.6039, allocations: 55.59 kB / 1.025 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.6041, allocations: 146.1 kB / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6041, allocations: 0.8906 kB / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6041, allocations: 0 / 1.025 GB, free: 56.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6041, allocations: 1.219 kB / 1.025 GB, free: 56.63 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.0005714/0.6047, allocations: 454.2 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.6047, allocations: 9.25 kB / 1.025 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.6048, allocations: 12.02 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/0.6049, allocations: 186.9 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.6049, allocations: 3.312 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.6049, allocations: 3.781 kB / 1.026 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.6051, allocations: 81.52 kB / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.6051, allocations: 0 / 1.026 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6051, allocations: 4.594 kB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6051, allocations: 0.9688 kB / 1.026 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.6053, allocations: 50.25 kB / 1.026 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.6057, allocations: 321.2 kB / 1.026 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.6058, allocations: 65.58 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/0.6059, allocations: 38.84 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.606, allocations: 4.828 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.6062, allocations: 92.59 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.6062, allocations: 0 / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0003722/0.6066, allocations: 164 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.6066, allocations: 59.12 kB / 1.027 GB, free: 55.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.675e-05/0.6067, allocations: 126.3 kB / 1.027 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.6067, allocations: 29.7 kB / 1.027 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.6067, allocations: 93.8 kB / 1.027 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.6068, allocations: 23.19 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.6068, allocations: 8.469 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.6068, allocations: 325.8 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.6069, allocations: 28.05 kB / 1.027 GB, free: 54.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.607, allocations: 72.61 kB / 1.027 GB, free: 54.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.6072, allocations: 106 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6072, allocations: 0 / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002129/0.6074, allocations: 126.8 kB / 1.027 GB, free: 54.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.6074, allocations: 11.3 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6074, allocations: 0 / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6074, allocations: 6.75 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.6076, allocations: 24.05 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6076, allocations: 5.297 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.6077, allocations: 16.14 kB / 1.027 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6077, allocations: 2.828 kB / 1.027 GB, free: 54.56 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.917e-05/0.6078, allocations: 128.8 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.6078, allocations: 12.22 kB / 1.028 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.6081, allocations: 155.8 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6081, allocations: 5.156 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6081, allocations: 3.297 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6081, allocations: 1.938 kB / 1.028 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.6086, allocations: 438.8 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6086, allocations: 0 / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.6087, allocations: 11.38 kB / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6087, allocations: 0 / 1.028 GB, free: 54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6087, allocations: 8.141 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6087, allocations: 0.6562 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6087, allocations: 3.938 kB / 1.028 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.609, allocations: 239.9 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.609, allocations: 81.02 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.609, allocations: 7.344 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.6092, allocations: 11.33 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.6092, allocations: 12.77 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.6092, allocations: 8.562 kB / 1.029 GB, free: 53.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.197e-05/0.6093, allocations: 100.7 kB / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6093, allocations: 0 / 1.029 GB, free: 53.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000286/0.6096, allocations: 40.28 kB / 1.029 GB, free: 53.62 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.0003016/0.6099, allocations: 180.2 kB / 1.029 GB, free: 53.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.6101, allocations: 89.8 kB / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6101, allocations: 0 / 1.029 GB, free: 53.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.6103, allocations: 50.86 kB / 1.029 GB, free: 53.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.6105, allocations: 13.64 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/0.6109, allocations: 233.6 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.611, allocations: 0.697 MB / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.6111, allocations: 12.38 kB / 1.03 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.6111, allocations: 18.98 kB / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6111, allocations: 0 / 1.03 GB, free: 52.59 MB / 0.698 GB Notification: Performance of Templates: time 0.003889/0.615, allocations: 1.663 MB / 1.032 GB, free: 52.45 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)