Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001814/0.001814, allocations: 107.8 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.002233/0.002233, allocations: 216.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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.132/3.132, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.Yun2008WindowsTOut,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.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,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.Yun2008WindowsTOut") [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.002023/0.002023, allocations: 63.66 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002678/0.302, allocations: 1.546 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3033, allocations: 0.7207 MB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.3034, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.191e-05/0.3035, allocations: 15.86 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.3035, allocations: 19.8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.304, allocations: 139.6 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3042, allocations: 107.7 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.3043, allocations: 8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.3044, allocations: 63.77 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.3045, allocations: 51.81 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3046, allocations: 8 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002619/0.3048, allocations: 139.8 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3049, allocations: 47.84 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.3049, allocations: 47.64 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.3052, allocations: 211.2 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3052, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3052, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.3052, allocations: 0 / 1.33 GB, free: 13.91 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.000723/0.306, allocations: 457.8 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.306, allocations: 12.02 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005724/0.3066, allocations: 60.77 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3068, allocations: 142.3 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.3068, allocations: 4.375 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.3068, allocations: 8.375 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.3072, allocations: 217.6 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3072, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3072, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.3072, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.3075, allocations: 119.9 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007453/0.3082, allocations: 304.2 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3084, allocations: 130.7 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.3086, allocations: 113.1 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3087, allocations: 3.984 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.309, allocations: 235.4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=41): time 1.593e-06/0.309, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=41): time 0.0009511/0.3099, allocations: 0.5578 MB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.31, allocations: 95.44 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3101, allocations: 142.1 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.3102, allocations: 57.67 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.3103, allocations: 93.09 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.3104, allocations: 111.2 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3105, allocations: 102.1 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3106, allocations: 342.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.3109, allocations: 177 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.3113, allocations: 263.8 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006758/0.312, allocations: 498.1 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.312, allocations: 7.938 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007983/0.3128, allocations: 0.5219 MB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3128, allocations: 11.98 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3128, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.3128, allocations: 4 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.313, allocations: 36.02 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.313, allocations: 4 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.3131, allocations: 35.67 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.3131, allocations: 19.98 kB / 1.335 GB, free: 8.867 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,occ.y,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 (47): * Single equations (assignments): 46 * 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.0002159/0.3134, allocations: 203.5 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3134, allocations: 15.86 kB / 1.335 GB, free: 8.641 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.3134, allocations: 10.31 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3134, allocations: 0 / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3134, allocations: 4 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.3134, allocations: 15.84 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.3135, allocations: 35.98 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3136, allocations: 11.98 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3136, allocations: 11.92 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007029/0.3143, allocations: 466.3 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007283/0.3151, allocations: 0.5661 MB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001929/0.3153, allocations: 104 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.3153, allocations: 104.9 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of Backend: time 1.6e-07/0.3153, allocations: 4 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009537/0.3163, allocations: 386.8 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007282/0.317, allocations: 0.7607 MB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of Templates: time 0.006193/0.3232, allocations: 2.64 MB / 1.34 GB, free: 3.523 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.pOpen,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.globalSeed,win.localSeed,win.occ,win.on,win.pOpen,win.samplePeriod,win.t0 [Calling sys.exit(0), Time elapsed: 8.53939637500298]