Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001734/0.001734, 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.002195/0.002195, allocations: 212.7 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.Love1998Light2,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.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_12_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.002007/0.002007, allocations: 71.88 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002999/0.3253, allocations: 1.517 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3269, allocations: 0.7557 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.3269, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.129e-05/0.327, allocations: 7.875 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.3271, allocations: 15.84 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.3276, allocations: 143.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3277, allocations: 95.73 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.3278, allocations: 8 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.3279, allocations: 47.78 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.328, allocations: 43.83 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.328, allocations: 8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.3283, allocations: 131.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.3284, allocations: 39.84 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.272e-05/0.3284, allocations: 47.61 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002791/0.3287, allocations: 199.2 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3287, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3287, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3287, 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008058/0.3295, allocations: 469.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3295, allocations: 8.031 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.3299, allocations: 44.7 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.3301, allocations: 148.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.3301, allocations: 8.375 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3302, allocations: 4.375 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.3305, allocations: 213.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.3305, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3305, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3305, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.3307, allocations: 108 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.3312, allocations: 288.3 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3314, allocations: 122.7 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3315, allocations: 101.1 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3316, allocations: 8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000311/0.3319, allocations: 228 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 1.583e-06/0.3319, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=43): time 0.0009157/0.3328, allocations: 0.5559 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.3329, allocations: 87.45 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.333, allocations: 154 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.3331, allocations: 53.69 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.3331, allocations: 97.12 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.3332, allocations: 115.2 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.3334, allocations: 106.1 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002247/0.3336, allocations: 338.8 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3339, allocations: 177 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.3342, allocations: 264.7 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.3349, allocations: 0.495 MB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.3349, allocations: 3.938 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007864/0.3357, allocations: 0.5257 MB / 1.335 GB, free: 9.023 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3357, allocations: 8 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3357, allocations: 0 / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3357, allocations: 4 kB / 1.335 GB, free: 9.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3359, allocations: 32.09 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.3359, allocations: 11.94 kB / 1.335 GB, free: 8.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.3361, allocations: 47.66 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.3361, allocations: 12 kB / 1.335 GB, free: 8.91 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.0002275/0.3363, allocations: 211.5 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.3363, allocations: 19.8 kB / 1.335 GB, free: 8.672 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007114/0.337, allocations: 427.9 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3371, allocations: 3.984 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3371, allocations: 3.938 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.3371, allocations: 27.78 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3371, allocations: 27.98 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3372, allocations: 15.98 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3373, allocations: 15.92 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006611/0.3379, allocations: 468.6 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000658/0.3386, allocations: 0.5679 MB / 1.336 GB, free: 7.098 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001666/0.3388, allocations: 104 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.3388, allocations: 105 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of Backend: time 1.51e-07/0.3388, allocations: 0 / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009317/0.3398, allocations: 383.6 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008302/0.3406, allocations: 0.7641 MB / 1.338 GB, free: 5.723 MB / 1.029 GB Notification: Performance of Templates: time 0.00659/0.3472, allocations: 2.826 MB / 1.34 GB, free: 2.941 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.539098045999708]