Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 160.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.645/2.645, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.91 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3509, allocations: 169.9 MB / 1.117 GB, free: 2.633 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003414/0.3543, allocations: 1.517 MB / 1.119 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3559, allocations: 0.803 MB / 1.12 GB, free: 300 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.3559, allocations: 7.938 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.3559, allocations: 3.938 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.356, allocations: 15.86 kB / 1.12 GB, free: 272 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.3566, allocations: 155.5 kB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3568, allocations: 87.7 kB / 1.12 GB, free: 28 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.3569, allocations: 11.97 kB / 1.12 GB, free: 16 kB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.357, allocations: 43.86 kB / 1.12 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.758e-05/0.3571, allocations: 39.81 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3571, allocations: 8 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.3574, allocations: 139.8 kB / 1.12 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3575, allocations: 15.92 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.3575, allocations: 35.84 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.3578, allocations: 159.5 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3578, allocations: 0 / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3578, allocations: 0 / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.3578, allocations: 0 / 1.12 GB, free: 15.58 MB / 1.076 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.0007173/0.3585, allocations: 397.1 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.3586, allocations: 16.03 kB / 1.121 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.3588, allocations: 24.88 kB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3591, allocations: 134.4 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3591, allocations: 4.375 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.3591, allocations: 8.375 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3593, allocations: 77.89 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3593, allocations: 0 / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3593, allocations: 4 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3593, allocations: 0 / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.3594, allocations: 43.97 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.3599, allocations: 252.4 kB / 1.121 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.3601, allocations: 58.48 kB / 1.121 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.009e-05/0.3602, allocations: 32.84 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.3602, allocations: 0 / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.3604, allocations: 95.33 kB / 1.121 GB, free: 14.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 3.075e-06/0.3604, allocations: 7.984 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0004089/0.3608, allocations: 161.5 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.3608, allocations: 55.41 kB / 1.122 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3609, allocations: 136.6 kB / 1.122 GB, free: 13.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.361, allocations: 29.7 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.361, allocations: 100.4 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3611, allocations: 19.86 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.3611, allocations: 33.7 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3613, allocations: 322.8 kB / 1.122 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.3613, allocations: 31.98 kB / 1.122 GB, free: 13.4 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3615, allocations: 65.12 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.3616, allocations: 101 kB / 1.122 GB, free: 13.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3616, allocations: 3.938 kB / 1.123 GB, free: 13.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002564/0.3619, allocations: 133.5 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3619, allocations: 7.938 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3619, allocations: 4 kB / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3619, allocations: 0 / 1.123 GB, free: 13.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.362, allocations: 19.98 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.362, allocations: 0 / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3622, allocations: 23.88 kB / 1.123 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3622, allocations: 4 kB / 1.123 GB, free: 13 MB / 1.076 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 0.0001063/0.3623, allocations: 125.7 kB / 1.123 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3623, allocations: 16 kB / 1.123 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.3626, allocations: 146.1 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3626, allocations: 4 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3626, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3626, allocations: 0 / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.3632, allocations: 374 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3632, allocations: 0 / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.966e-05/0.3633, allocations: 12 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3633, allocations: 7.938 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3633, allocations: 3.984 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3633, allocations: 4.375 kB / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3633, allocations: 0 / 1.123 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.3636, allocations: 223.3 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.3636, allocations: 19.88 kB / 1.124 GB, free: 12.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3636, allocations: 7.938 kB / 1.124 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3638, allocations: 7.984 kB / 1.124 GB, free: 12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3638, allocations: 11.98 kB / 1.124 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.3638, allocations: 4 kB / 1.124 GB, free: 11.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.3639, allocations: 107.2 kB / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3639, allocations: 0 / 1.124 GB, free: 11.88 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003067/0.3642, allocations: 43.92 kB / 1.124 GB, free: 11.84 MB / 1.076 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.0003485/0.3645, allocations: 158.8 kB / 1.124 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.3648, allocations: 95.83 kB / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3648, allocations: 0 / 1.124 GB, free: 11.59 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.3649, allocations: 39.92 kB / 1.124 GB, free: 11.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3652, allocations: 15.98 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3656, allocations: 207.7 kB / 1.124 GB, free: 11.31 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.3657, allocations: 84.08 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.354e-05/0.3658, allocations: 12.47 kB / 1.124 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3658, allocations: 16.5 kB / 1.124 GB, free: 11.18 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.3658, allocations: 3.938 kB / 1.124 GB, free: 11.17 MB / 1.076 GB Notification: Performance of Templates: time 0.005213/0.371, allocations: 1.847 MB / 1.126 GB, free: 9.352 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.711190208094195]