Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001298/0.001298, 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.001418/0.001418, allocations: 215.5 kB / 23 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.124/3.124, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") [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.002021/0.002021, allocations: 70.34 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 176.1 MB / 1.327 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00311/0.3454, allocations: 1.54 MB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3469, allocations: 0.7441 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.748e-05/0.347, allocations: 8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.584e-05/0.3471, allocations: 7.875 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.564e-05/0.3472, allocations: 15.84 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.3477, allocations: 139.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.3479, allocations: 99.62 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.593e-05/0.348, allocations: 20.09 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.3481, allocations: 47.8 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.3482, allocations: 47.81 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3482, allocations: 4 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.3485, allocations: 135.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.3485, allocations: 43.84 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.3486, allocations: 43.67 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.3489, allocations: 199.2 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3489, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3489, allocations: 3.938 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3489, allocations: 4 kB / 1.33 GB, free: 13.95 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008317/0.3497, allocations: 473.7 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3498, allocations: 16.03 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/0.3501, allocations: 36.77 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.3503, allocations: 150.1 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.3504, allocations: 93.66 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.3504, allocations: 4.375 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.3508, allocations: 209.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3508, allocations: 3.984 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3508, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3508, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.3511, allocations: 119.9 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.3516, allocations: 280.3 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.3519, allocations: 130.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3521, allocations: 101.2 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3521, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.3525, allocations: 236 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.3525, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.0009451/0.3534, allocations: 0.5598 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3535, allocations: 91.44 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3536, allocations: 159.5 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.3537, allocations: 53.69 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.3537, allocations: 105.1 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.3538, allocations: 107.2 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.354, allocations: 98.11 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3541, allocations: 350.7 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003097/0.3545, allocations: 189 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.3548, allocations: 264.7 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/0.3556, allocations: 0.5028 MB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3556, allocations: 0 / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008509/0.3564, allocations: 0.5337 MB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3564, allocations: 8.031 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3564, allocations: 4 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3565, allocations: 4 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.3566, allocations: 31.91 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.3567, allocations: 7.938 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.3568, allocations: 47.61 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.3569, allocations: 12 kB / 1.335 GB, free: 8.766 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,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 (48): * Single equations (assignments): 47 * 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.000229/0.3571, allocations: 211.5 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3571, allocations: 19.89 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.3572, allocations: 14.3 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.3572, allocations: 4 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3572, allocations: 0 / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/0.3572, allocations: 27.73 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.3572, allocations: 27.98 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3574, allocations: 19.92 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.3574, allocations: 11.97 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007481/0.3582, allocations: 473.8 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007239/0.3589, allocations: 0.5688 MB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001941/0.3591, allocations: 111.9 kB / 1.336 GB, free: 7.254 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.062e-05/0.3592, allocations: 105.1 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of Backend: time 4.2e-07/0.3592, allocations: 0 / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.3602, allocations: 381.4 kB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008375/0.361, allocations: 0.7641 MB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of Templates: time 0.007213/0.3682, allocations: 2.973 MB / 1.34 GB, free: 3.066 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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:ill.amplitude,ill.continuous,ill.f,ill.offset,ill.phase,ill.startTime,lig.AArriv,lig.BArriv,lig.CArriv,lig.MArriv,lig.globalSeed,lig.ill,lig.localSeed,lig.occ,lig.on,lig.pArriv,lig.samplePeriod,lig.t0,occ.Twidth,occ.period,occ.startTime,occ.width,occ.y,time [Calling sys.exit(0), Time elapsed: 8.56250603999797]