Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") 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.859/1.859, allocations: 297.4 MB / 312.6 MB, free: 2.895 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.0009552/0.0009554, allocations: 190 kB / 382.3 MB, free: 14.79 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.664/1.664, allocations: 225.7 MB / 0.6617 GB, free: 7.219 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.000977/0.0009771, allocations: 93.5 kB / 0.7789 GB, free: 46.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 8 kB / 0.9058 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.6645, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002181/0.6668, allocations: 1.231 MB / 1.023 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.6686, allocations: 1.027 MB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.342e-05/0.6687, allocations: 1.625 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.6687, allocations: 3.938 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.6689, allocations: 15.92 kB / 1.024 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.6695, allocations: 108 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.6697, allocations: 90.28 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.6699, allocations: 10.72 kB / 1.025 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.67, allocations: 40.91 kB / 1.025 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.6702, allocations: 47.98 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.6702, allocations: 4.125 kB / 1.025 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.6705, allocations: 88.92 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.6705, allocations: 16.22 kB / 1.025 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.697e-05/0.6706, allocations: 64.09 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.671, allocations: 155.9 kB / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.671, allocations: 0 / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.444e-06/0.671, allocations: 0 / 1.025 GB, free: 56.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.671, allocations: 0 / 1.025 GB, free: 56.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009079/0.672, allocations: 484.6 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.672, allocations: 12.5 kB / 1.026 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.6721, allocations: 13.09 kB / 1.026 GB, free: 56.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.6722, allocations: 178.5 kB / 1.026 GB, free: 55.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6723, allocations: 6.688 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.6723, allocations: 9.688 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.6726, allocations: 81.44 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.6726, allocations: 3.094 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6726, allocations: 3.969 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.6726, allocations: 1.281 kB / 1.026 GB, free: 55.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.6728, allocations: 55.64 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.6734, allocations: 340.7 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/0.6736, allocations: 85.11 kB / 1.026 GB, free: 55.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.6737, allocations: 40.36 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.6738, allocations: 2.344 kB / 1.026 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.674, allocations: 114 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.6741, allocations: 3.938 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0004313/0.6745, allocations: 174.9 kB / 1.027 GB, free: 55.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.6745, allocations: 59.39 kB / 1.027 GB, free: 55.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.6746, allocations: 132.1 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.6747, allocations: 26.45 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.6747, allocations: 94.31 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.6747, allocations: 30.31 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.6748, allocations: 4 kB / 1.027 GB, free: 54.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.6748, allocations: 331.5 kB / 1.027 GB, free: 54.63 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.6749, allocations: 35.62 kB / 1.027 GB, free: 54.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.682e-05/0.675, allocations: 69.8 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.6752, allocations: 109.9 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6752, allocations: 0 / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002349/0.6754, allocations: 145.8 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6755, allocations: 8.562 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.6755, allocations: 1.625 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6755, allocations: 5.719 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6756, allocations: 23.56 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6756, allocations: 2.188 kB / 1.028 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.6757, allocations: 14.42 kB / 1.028 GB, free: 54.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.6757, allocations: 10.8 kB / 1.028 GB, free: 54.4 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.58e-05/0.6758, allocations: 128.3 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.6759, allocations: 11.41 kB / 1.028 GB, free: 54.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.6762, allocations: 166.5 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.6762, allocations: 1.031 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6762, allocations: 5.031 kB / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.6762, allocations: 0 / 1.028 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.6768, allocations: 455.9 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6768, allocations: 3.328 kB / 1.028 GB, free: 53.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.338e-05/0.6769, allocations: 18.12 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6769, allocations: 2.469 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.6769, allocations: 4.078 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6769, allocations: 2 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6769, allocations: 3.938 kB / 1.028 GB, free: 53.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.6772, allocations: 243.9 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.6773, allocations: 95.67 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.6773, allocations: 1.125 kB / 1.029 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.6774, allocations: 16.39 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.6775, allocations: 13.08 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.6775, allocations: 6.953 kB / 1.029 GB, free: 53.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.6776, allocations: 99.53 kB / 1.029 GB, free: 53.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6776, allocations: 3.938 kB / 1.029 GB, free: 53.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003182/0.6779, allocations: 52 kB / 1.029 GB, free: 53.44 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003613/0.6783, allocations: 182.8 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.6785, allocations: 96.31 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6786, allocations: 4.188 kB / 1.029 GB, free: 53.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.6787, allocations: 52.05 kB / 1.029 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.679, allocations: 16.28 kB / 1.029 GB, free: 53.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.6795, allocations: 254.1 kB / 1.03 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.6796, allocations: 0.6979 MB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.6797, allocations: 7.953 kB / 1.03 GB, free: 52.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.6797, allocations: 18.34 kB / 1.03 GB, free: 52.38 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.6798, allocations: 3.406 kB / 1.03 GB, free: 52.38 MB / 0.698 GB Notification: Performance of Templates: time 0.004556/0.6843, allocations: 1.802 MB / 1.032 GB, free: 52.23 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)