Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001867/0.001867, allocations: 108.2 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.00232/0.00232, allocations: 209.9 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.155/3.155, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [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.00203/0.00203, allocations: 67.83 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.299, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003002/0.302, allocations: 1.523 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3035, allocations: 0.709 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.607e-05/0.3035, allocations: 0 / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.3036, allocations: 11.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.3036, allocations: 11.88 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.3042, allocations: 131.6 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3043, allocations: 87.7 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.3044, allocations: 11.94 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3046, allocations: 47.83 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.3046, allocations: 35.84 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3046, allocations: 8 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.3049, allocations: 131.8 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.305, allocations: 35.86 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.305, allocations: 43.67 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.3053, allocations: 187.2 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3053, allocations: 3.984 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3053, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3053, allocations: 0 / 1.33 GB, free: 14.05 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.0007315/0.3061, allocations: 424.1 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3061, allocations: 8.031 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003828/0.3065, allocations: 36.81 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3067, allocations: 146.3 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3067, allocations: 8.375 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.3068, allocations: 4.359 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.3071, allocations: 201.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3071, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.3071, allocations: 7.938 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3071, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3073, allocations: 107.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.3079, allocations: 280.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.3081, allocations: 110.8 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.3082, allocations: 97.22 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3083, allocations: 4 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.3085, allocations: 212.2 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.3086, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=40): time 0.0008379/0.3094, allocations: 0.5243 MB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.3095, allocations: 87.36 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.3096, allocations: 141.8 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/0.3096, allocations: 57.67 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.3097, allocations: 93.09 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3098, allocations: 103.3 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.3099, allocations: 101.6 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3101, allocations: 338.8 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.3104, allocations: 180.6 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/0.3107, allocations: 239.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.3113, allocations: 431.2 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3113, allocations: 3.938 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007705/0.3121, allocations: 0.5126 MB / 1.334 GB, free: 9.445 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3121, allocations: 8 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.3121, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3121, allocations: 8.094 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3123, allocations: 19.92 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3123, allocations: 0 / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3124, allocations: 47.67 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3124, allocations: 8 kB / 1.334 GB, free: 9.355 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.0002191/0.3126, allocations: 211.4 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.3127, allocations: 11.91 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.3127, allocations: 9.625 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3127, allocations: 0 / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3127, allocations: 3.984 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.3127, allocations: 23.78 kB / 1.335 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.3128, allocations: 31.98 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3128, allocations: 7.938 kB / 1.335 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3129, allocations: 11.92 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005985/0.3135, allocations: 428.1 kB / 1.335 GB, free: 8.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006439/0.3141, allocations: 0.5239 MB / 1.336 GB, free: 8.07 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000155/0.3143, allocations: 96.14 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.3143, allocations: 98.77 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.3143, allocations: 7.938 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009925/0.3153, allocations: 443.5 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007214/0.3161, allocations: 0.749 MB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of Templates: time 0.005974/0.322, allocations: 2.395 MB / 1.339 GB, free: 4.293 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.629583221001667]