Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") 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.612/1.612, allocations: 297.4 MB / 312.6 MB, free: 2.957 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.001024/0.001024, allocations: 189 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.404/1.404, allocations: 225.7 MB / 0.6617 GB, free: 7.223 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.0008142/0.0008142, allocations: 95.83 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 12 kB / 0.9058 GB, free: 4.957 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.5868, allocations: 119.2 MB / 1.022 GB, free: 57.95 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001866/0.5887, allocations: 1.249 MB / 1.023 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5901, allocations: 1.03 MB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.548e-05/0.5902, allocations: 1.094 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.5902, allocations: 3.938 kB / 1.024 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.5903, allocations: 18.91 kB / 1.025 GB, free: 56.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.5908, allocations: 108 kB / 1.025 GB, free: 56.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.5909, allocations: 97.7 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.591, allocations: 14.14 kB / 1.025 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.5911, allocations: 40.8 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.5912, allocations: 42.42 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.5912, allocations: 3.719 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.5914, allocations: 90.91 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.5915, allocations: 16.08 kB / 1.025 GB, free: 56.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.5915, allocations: 67.31 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.5918, allocations: 152.6 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5918, allocations: 0 / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5918, allocations: 1.281 kB / 1.025 GB, free: 56.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.5919, allocations: 3.344 kB / 1.025 GB, free: 56.36 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.0007142/0.5926, allocations: 0.4931 MB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.5926, allocations: 10.19 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.5927, allocations: 10.39 kB / 1.026 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5928, allocations: 185.5 kB / 1.026 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.5929, allocations: 8.297 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.5929, allocations: 9.375 kB / 1.026 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.5932, allocations: 84.3 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.5932, allocations: 4.969 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.5932, allocations: 6.016 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5932, allocations: 1.344 kB / 1.026 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.5934, allocations: 53.39 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.594, allocations: 332.9 kB / 1.026 GB, free: 55.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.5942, allocations: 87.83 kB / 1.026 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.5943, allocations: 41.84 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.092e-05/0.5943, allocations: 3.266 kB / 1.026 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.5946, allocations: 102.4 kB / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.5946, allocations: 0 / 1.027 GB, free: 55.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.000481/0.5951, allocations: 185.3 kB / 1.027 GB, free: 55.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5951, allocations: 55.84 kB / 1.027 GB, free: 55.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.5952, allocations: 141.2 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.5953, allocations: 25.7 kB / 1.027 GB, free: 54.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.5953, allocations: 100.6 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.5954, allocations: 34.84 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.5954, allocations: 0 / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.5954, allocations: 329.1 kB / 1.027 GB, free: 54.42 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.851e-05/0.5955, allocations: 31.7 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.5956, allocations: 66.05 kB / 1.027 GB, free: 54.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.5958, allocations: 117.1 kB / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5958, allocations: 0 / 1.028 GB, free: 54.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002548/0.5961, allocations: 142.6 kB / 1.028 GB, free: 54.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5961, allocations: 11.62 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5961, allocations: 2.109 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5961, allocations: 2.688 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.5962, allocations: 17.66 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.5963, allocations: 7.297 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5964, allocations: 15.12 kB / 1.028 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.5964, allocations: 14.95 kB / 1.028 GB, free: 54.19 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 8.062e-05/0.5965, allocations: 131 kB / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.5965, allocations: 9.453 kB / 1.028 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.5969, allocations: 168 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5969, allocations: 1.641 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5969, allocations: 7.062 kB / 1.028 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5969, allocations: 5.406 kB / 1.028 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.5975, allocations: 471.4 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5975, allocations: 0 / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.5976, allocations: 18.75 kB / 1.029 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5976, allocations: 5.875 kB / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5976, allocations: 2.062 kB / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.5976, allocations: 0 / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5976, allocations: 3.938 kB / 1.029 GB, free: 53.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.5979, allocations: 248.9 kB / 1.029 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.5979, allocations: 90.08 kB / 1.029 GB, free: 53.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.598, allocations: 11.28 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5981, allocations: 11.75 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.5982, allocations: 18.56 kB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5982, allocations: 1.812 kB / 1.029 GB, free: 53.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.722e-05/0.5983, allocations: 107.8 kB / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5983, allocations: 0 / 1.029 GB, free: 53.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003075/0.5986, allocations: 48.84 kB / 1.029 GB, free: 53.22 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 (14): * Single equations (assignments): 11 * 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.0003979/0.599, allocations: 184.4 kB / 1.029 GB, free: 53.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.5992, allocations: 97.08 kB / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5993, allocations: 0 / 1.029 GB, free: 53.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.5994, allocations: 64.25 kB / 1.029 GB, free: 53.07 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.5997, allocations: 17.62 kB / 1.029 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004433/0.6001, allocations: 269.7 kB / 1.03 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.6003, allocations: 0.6998 MB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.6003, allocations: 10.94 kB / 1.03 GB, free: 52.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.6004, allocations: 19.03 kB / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6004, allocations: 0 / 1.03 GB, free: 52.16 MB / 0.698 GB Notification: Performance of Templates: time 0.00461/0.605, allocations: 1.845 MB / 1.032 GB, free: 52.02 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)