Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.001303/0.001303, allocations: 97.11 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.001457/0.001457, allocations: 210.8 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.187/3.187, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") [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.002615/0.002615, allocations: 61.34 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3484, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003329/0.3517, allocations: 1.531 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3533, allocations: 0.709 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.3534, allocations: 0 / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.724e-05/0.3535, allocations: 3.938 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.3535, allocations: 19.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.3542, allocations: 123.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.3543, allocations: 91.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.056e-05/0.3544, allocations: 15.92 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3546, allocations: 35.91 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.3547, allocations: 39.83 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.3547, allocations: 8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.355, allocations: 131.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.355, allocations: 43.78 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.3551, allocations: 47.67 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.3554, allocations: 183.2 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3554, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3554, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3554, allocations: 0 / 1.33 GB, free: 14.01 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007376/0.3561, allocations: 428.1 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3562, allocations: 11.97 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000394/0.3566, allocations: 40.81 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3568, allocations: 143 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.3568, allocations: 8.375 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3569, allocations: 4.375 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.3572, allocations: 201.7 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3572, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3572, allocations: 4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3572, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.3574, allocations: 104 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.358, allocations: 284.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3582, allocations: 118.8 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3583, allocations: 97.22 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.3584, allocations: 0 / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000286/0.3586, allocations: 212.3 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.363e-06/0.3586, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008247/0.3595, allocations: 0.5243 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.3595, allocations: 91.36 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3597, allocations: 138.9 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.3597, allocations: 57.69 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.3598, allocations: 97.08 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/0.3599, allocations: 99.3 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.36, allocations: 101.6 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3602, allocations: 342.8 kB / 1.333 GB, free: 10.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.3605, allocations: 180.6 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.3608, allocations: 235.2 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/0.3614, allocations: 435.2 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3614, allocations: 3.938 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007567/0.3621, allocations: 0.5126 MB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3621, allocations: 4 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3622, allocations: 8.078 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3622, allocations: 4 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.3623, allocations: 19.92 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.3623, allocations: 4 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3625, allocations: 51.61 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.3625, allocations: 8 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 75 (win.occ,win.ran,$PRE.win.ran,win.state[33],$PRE.win.state[33],win.state[32],$PRE.win.state[32],win.state[31],$PRE.win.state[31],win.state[30],$PRE.win.state[30],win.state[29],$PRE.win.state[29],win.state[28],$PRE.win.state[28],win.state[27],$PRE.win.state[27],win.state[26],$PRE.win.state[26],win.state[25],$PRE.win.state[25],win.state[24],$PRE.win.state[24],win.state[23],$PRE.win.state[23],win.state[22],$PRE.win.state[22],win.state[21],$PRE.win.state[21],win.state[20],$PRE.win.state[20],win.state[19],$PRE.win.state[19],win.state[18],$PRE.win.state[18],win.state[17],$PRE.win.state[17],win.state[16],$PRE.win.state[16],win.state[15],$PRE.win.state[15],win.state[14],$PRE.win.state[14],win.state[13],$PRE.win.state[13],win.state[12],$PRE.win.state[12],win.state[11],$PRE.win.state[11],win.state[10],$PRE.win.state[10],win.state[9],$PRE.win.state[9],win.state[8],$PRE.win.state[8],win.state[7],$PRE.win.state[7],win.state[6],$PRE.win.state[6],win.state[5],$PRE.win.state[5],win.state[4],$PRE.win.state[4],win.state[3],$PRE.win.state[3],win.state[2],$PRE.win.state[2],win.state[1],$PRE.win.state[1],win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002153/0.3627, allocations: 203.5 kB / 1.335 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.3627, allocations: 11.91 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.3627, allocations: 13.62 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3628, allocations: 0 / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3628, allocations: 0 / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3628, allocations: 23.78 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.69e-05/0.3628, allocations: 31.98 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.3629, allocations: 7.984 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.3629, allocations: 7.922 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005892/0.3635, allocations: 436 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006176/0.3642, allocations: 0.52 MB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.3643, allocations: 91.97 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.3644, allocations: 103 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of Backend: time 4.61e-07/0.3644, allocations: 4 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.3654, allocations: 441.8 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007346/0.3661, allocations: 0.7451 MB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of Templates: time 0.005905/0.372, allocations: 2.405 MB / 1.339 GB, free: 4.246 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.globalSeed,win.localSeed,win.occ,win.on,win.p,win.samplePeriod,win.t0 [Calling sys.exit(0), Time elapsed: 8.655241634005506]