Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.001277/0.001277, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001448/0.001448, allocations: 213.3 kB / 23 MB, free: 4.934 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") [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.002018/0.002018, allocations: 69.67 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.323, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002817/0.3259, allocations: 1.542 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.3273, allocations: 0.7245 MB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.816e-05/0.3274, allocations: 0 / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.3275, allocations: 7.875 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.3276, allocations: 23.78 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000543/0.3281, allocations: 131.7 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3283, allocations: 111.6 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3284, allocations: 8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3285, allocations: 55.84 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.3286, allocations: 51.75 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3286, allocations: 8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.3289, allocations: 139.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.329, allocations: 43.83 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.329, allocations: 43.67 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.3293, allocations: 203.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3293, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3293, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.3293, allocations: 4 kB / 1.33 GB, free: 13.93 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.0008787/0.3302, allocations: 0.4915 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3303, allocations: 12.03 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003694/0.3306, allocations: 40.77 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3309, allocations: 154.1 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3309, allocations: 8.359 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3309, allocations: 4.375 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.3312, allocations: 222.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3313, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3313, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3313, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.3315, allocations: 116 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.332, allocations: 304.2 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3323, allocations: 142.5 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.3325, allocations: 112.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3325, allocations: 8 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.3328, allocations: 231.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.3328, allocations: 3.938 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.0008898/0.3337, allocations: 0.5564 MB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.008e-05/0.3338, allocations: 99.3 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.3339, allocations: 155.2 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.334, allocations: 53.69 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.3341, allocations: 105.1 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3342, allocations: 115.2 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.3343, allocations: 102.1 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3345, allocations: 338.8 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.3347, allocations: 188.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.3351, allocations: 272.6 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006659/0.3358, allocations: 0.4989 MB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3358, allocations: 0 / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007877/0.3365, allocations: 0.5413 MB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.3366, allocations: 5.562 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.3366, allocations: 4 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3366, allocations: 0 / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.3368, allocations: 31.92 kB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3368, allocations: 12.09 kB / 1.335 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.3369, allocations: 47.61 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3369, allocations: 12 kB / 1.335 GB, free: 8.758 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.0002286/0.3372, allocations: 211.5 kB / 1.335 GB, free: 8.539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3372, allocations: 15.91 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.3379, allocations: 448 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3379, allocations: 0 / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3379, allocations: 0 / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.3379, allocations: 23.8 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.338, allocations: 27.98 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3381, allocations: 19.98 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.3381, allocations: 15.91 kB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006662/0.3388, allocations: 476.6 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006646/0.3395, allocations: 0.5757 MB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000169/0.3396, allocations: 112 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.983e-05/0.3397, allocations: 103.3 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of Backend: time 5.01e-07/0.3397, allocations: 0 / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009832/0.3407, allocations: 377.4 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008277/0.3415, allocations: 0.7838 MB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of Templates: time 0.006868/0.3484, allocations: 2.888 MB / 1.341 GB, free: 2.684 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.globalSeed,lig.ill,lig.localSeed,lig.occ,lig.on,lig.pArriv,lig.samplePeriod,lig.t0,time [Calling sys.exit(0), Time elapsed: 8.614144407001731]