Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001331/0.001331, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.00145/0.00145, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [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.00207/0.00207, allocations: 67 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 176.1 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.004101/0.3669, allocations: 1.563 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.3693, allocations: 0.7635 MB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.3693, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.3694, allocations: 11.88 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.412e-05/0.3695, allocations: 15.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/0.3703, allocations: 147.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3705, allocations: 99.69 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3707, allocations: 17.53 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.3709, allocations: 55.83 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.371, allocations: 51.77 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.371, allocations: 8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.3714, allocations: 131.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.3715, allocations: 47.78 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.653e-05/0.3716, allocations: 47.61 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.3721, allocations: 215.1 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3721, allocations: 4 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3721, allocations: 3.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3721, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001233/0.3733, allocations: 0.4993 MB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3734, allocations: 8.031 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006383/0.374, allocations: 44.77 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.3744, allocations: 148.1 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.3744, allocations: 8.375 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3744, allocations: 7.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.3749, allocations: 210.2 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3749, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3749, allocations: 8 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3749, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.3753, allocations: 115.9 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.3762, allocations: 304.2 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.3766, allocations: 138.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.3769, allocations: 108.7 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3769, allocations: 4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.3774, allocations: 231.3 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.3774, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.001441/0.3789, allocations: 0.568 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.379, allocations: 95.36 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3792, allocations: 160.6 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/0.3793, allocations: 57.69 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.3793, allocations: 105.1 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.3795, allocations: 115.2 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3797, allocations: 102.1 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002349/0.3799, allocations: 346.8 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.3804, allocations: 185 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.381, allocations: 264.7 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.3822, allocations: 0.5067 MB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.3822, allocations: 0 / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001359/0.3835, allocations: 0.5296 MB / 1.335 GB, free: 8.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3835, allocations: 8 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3836, allocations: 3.984 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3836, allocations: 4 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3838, allocations: 27.92 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.3838, allocations: 12.09 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.3841, allocations: 47.66 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.3842, allocations: 12 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 77 (lig.state[33],$PRE.lig.state[33],lig.state[32],$PRE.lig.state[32],lig.state[31],$PRE.lig.state[31],lig.state[30],$PRE.lig.state[30],lig.state[29],$PRE.lig.state[29],lig.state[28],$PRE.lig.state[28],lig.state[27],$PRE.lig.state[27],lig.state[26],$PRE.lig.state[26],lig.state[25],$PRE.lig.state[25],lig.state[24],$PRE.lig.state[24],lig.state[23],$PRE.lig.state[23],lig.state[22],$PRE.lig.state[22],lig.state[21],$PRE.lig.state[21],lig.state[20],$PRE.lig.state[20],lig.state[19],$PRE.lig.state[19],lig.state[18],$PRE.lig.state[18],lig.state[17],$PRE.lig.state[17],lig.state[16],$PRE.lig.state[16],lig.state[15],$PRE.lig.state[15],lig.state[14],$PRE.lig.state[14],lig.state[13],$PRE.lig.state[13],lig.state[12],$PRE.lig.state[12],lig.state[11],$PRE.lig.state[11],lig.state[10],$PRE.lig.state[10],lig.state[9],$PRE.lig.state[9],lig.state[8],$PRE.lig.state[8],lig.state[7],$PRE.lig.state[7],lig.state[6],$PRE.lig.state[6],lig.state[5],$PRE.lig.state[5],lig.state[4],$PRE.lig.state[4],lig.state[3],$PRE.lig.state[3],lig.state[2],$PRE.lig.state[2],lig.state[1],$PRE.lig.state[1],lig.ran,$PRE.lig.ran,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 1 * 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.0003671/0.3845, allocations: 207.5 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.3846, allocations: 19.86 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3857, allocations: 452.5 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3857, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.3858, allocations: 12.02 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3858, allocations: 31.72 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.873e-05/0.3859, allocations: 27.98 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3861, allocations: 19.98 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/0.3861, allocations: 15.92 kB / 1.336 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001184/0.3873, allocations: 493.1 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001186/0.3885, allocations: 0.5858 MB / 1.337 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003175/0.3888, allocations: 115.6 kB / 1.337 GB, free: 6.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001427/0.389, allocations: 113.1 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of Backend: time 3.81e-07/0.389, allocations: 3.938 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.3905, allocations: 379.5 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of SimCode: time 0.001232/0.3917, allocations: 0.7801 MB / 1.338 GB, free: 5.422 MB / 1.029 GB Notification: Performance of Templates: time 0.00773/0.3995, allocations: 3.025 MB / 1.341 GB, free: 2.438 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,lig.ill,lig.occ,lig.pArriv,lig.on Variables in the result:booleanPulse.Twidth,booleanPulse.period,booleanPulse.startTime,booleanPulse.width,booleanPulse.y,ill.amplitude,ill.continuous,ill.f,ill.offset,ill.phase,ill.startTime,lig.AArriv,lig.AInter,lig.BArriv,lig.BInter,lig.CArriv,lig.CInter,lig.MArriv,lig.MInter,lig.globalSeed,lig.ill,lig.localSeed,lig.occ,lig.on,lig.pArriv,lig.samplePeriod,lig.t0,time [Calling sys.exit(0), Time elapsed: 8.614513137996255]