Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.0018/0.0018, 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.002246/0.002246, allocations: 211.6 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.719 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.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [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.00207/0.00207, allocations: 74.45 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3021, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002832/0.3049, allocations: 1.61 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3064, allocations: 0.7635 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.562e-05/0.3065, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.087e-05/0.3065, allocations: 7.875 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.3066, allocations: 19.78 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.3071, allocations: 167.5 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.3073, allocations: 147.5 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.817e-05/0.3074, allocations: 13.25 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3076, allocations: 75.81 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.3077, allocations: 75.66 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3077, allocations: 12 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.308, allocations: 139.8 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.76e-05/0.308, allocations: 51.83 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.893e-05/0.3081, allocations: 51.66 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.3084, allocations: 243 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3084, allocations: 7.938 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3084, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3084, allocations: 0 / 1.33 GB, free: 13.59 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008637/0.3093, allocations: 493.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.3093, allocations: 8.031 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007451/0.3101, allocations: 76.75 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.3104, allocations: 162.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3104, allocations: 8.375 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3104, allocations: 4.375 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.3108, allocations: 222.6 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3108, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3108, allocations: 8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3108, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.3111, allocations: 127.9 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007912/0.3119, allocations: 328.1 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3121, allocations: 126.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3123, allocations: 120.6 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3124, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.3127, allocations: 235.2 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.3127, allocations: 0 / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.0009961/0.3137, allocations: 0.5853 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.3138, allocations: 91.48 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.3139, allocations: 176.5 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.625e-05/0.314, allocations: 57.69 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.314, allocations: 101.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3142, allocations: 119.1 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.3143, allocations: 102.1 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3144, allocations: 338.8 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.3148, allocations: 197 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.3151, allocations: 267.8 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/0.3158, allocations: 0.5059 MB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3159, allocations: 0 / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.000877/0.3167, allocations: 0.5609 MB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3167, allocations: 8 kB / 1.335 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3168, allocations: 4.156 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3168, allocations: 4 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.317, allocations: 23.92 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.317, allocations: 4 kB / 1.335 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.3171, allocations: 51.61 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3172, allocations: 16 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (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.ran,$PRE.win.ran,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$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.0002313/0.3174, allocations: 211.4 kB / 1.336 GB, free: 8.078 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3174, allocations: 11.91 kB / 1.336 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.3175, allocations: 22.3 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.3175, allocations: 0 / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.3175, allocations: 0 / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.3175, allocations: 31.73 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.3176, allocations: 27.98 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.3177, allocations: 11.98 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3177, allocations: 11.92 kB / 1.336 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007557/0.3185, allocations: 0.4906 MB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007708/0.3193, allocations: 0.586 MB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002032/0.3195, allocations: 119.7 kB / 1.337 GB, free: 6.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.841e-05/0.3195, allocations: 112.3 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of Backend: time 3.2e-07/0.3195, allocations: 0 / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.3205, allocations: 390.9 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007795/0.3213, allocations: 0.788 MB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of Templates: time 0.00664/0.328, allocations: 2.999 MB / 1.341 GB, free: 2.465 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.541140004002955]