Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001619/0.001619, allocations: 109.1 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.002064/0.002064, allocations: 212.2 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.148/3.148, allocations: 0.49 GB / 0.7959 GB, free: 35.3 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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [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.002102/0.002102, allocations: 66.09 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003408/0.3319, allocations: 1.535 MB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3334, allocations: 0.7401 MB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.733e-05/0.3334, allocations: 11.94 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.994e-05/0.3335, allocations: 7.875 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.934e-05/0.3336, allocations: 11.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.3341, allocations: 147.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.3343, allocations: 87.75 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.451e-05/0.3343, allocations: 11.98 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3345, allocations: 51.78 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.3346, allocations: 39.83 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.3346, allocations: 12 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.335, allocations: 131.8 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.376e-05/0.335, allocations: 43.78 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.3351, allocations: 43.67 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.3355, allocations: 199.2 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3355, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3355, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.3355, allocations: 0 / 1.33 GB, free: 13.94 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.0008529/0.3364, allocations: 461.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.3364, allocations: 12.03 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004026/0.3368, allocations: 40.77 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.3372, allocations: 150.3 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3372, allocations: 384 / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3372, allocations: 8.375 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.3375, allocations: 209.6 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3375, allocations: 4 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3376, allocations: 4 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3376, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3378, allocations: 112 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.3383, allocations: 280.3 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3385, allocations: 126.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3387, allocations: 97.16 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.3387, allocations: 7.984 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/0.339, allocations: 224 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.339, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.0008685/0.3399, allocations: 0.5598 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.979e-05/0.34, allocations: 91.45 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.3401, allocations: 152.2 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.877e-05/0.3402, allocations: 61.62 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.361e-05/0.3402, allocations: 93.12 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3403, allocations: 115.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3405, allocations: 98.11 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3406, allocations: 342.8 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.3409, allocations: 181 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.3413, allocations: 272.6 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.342, allocations: 499 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.342, allocations: 3.938 kB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008156/0.3428, allocations: 0.5296 MB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3428, allocations: 8 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3428, allocations: 0 / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3428, allocations: 4 kB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.343, allocations: 27.91 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.343, allocations: 7.938 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3432, allocations: 47.66 kB / 1.335 GB, free: 8.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3432, allocations: 16 kB / 1.335 GB, free: 8.926 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.0002335/0.3434, allocations: 199.6 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.3435, allocations: 23.86 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000691/0.3442, allocations: 443.8 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3442, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3442, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.3442, allocations: 31.77 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.3443, allocations: 27.98 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3444, allocations: 15.98 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.3444, allocations: 11.92 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006731/0.3451, allocations: 476.6 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006615/0.3457, allocations: 0.5679 MB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001769/0.3459, allocations: 104 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.167e-05/0.346, allocations: 99.27 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of Backend: time 4.31e-07/0.346, allocations: 4 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.347, allocations: 386.8 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008482/0.3479, allocations: 0.7638 MB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of Templates: time 0.006732/0.3546, allocations: 2.826 MB / 1.34 GB, free: 2.949 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.666565346000425]