Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 193 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 482.4 MB / 0.7543 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 64.41 kB / 0.9233 GB, free: 29.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2888, allocations: 162.2 MB / 1.082 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003589/0.2924, allocations: 1.563 MB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001936/0.2944, allocations: 0.7519 MB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.2946, allocations: 4 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.2946, allocations: 3.938 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2948, allocations: 11.88 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.296, allocations: 119.8 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2962, allocations: 103.7 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2964, allocations: 11.98 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2966, allocations: 55.78 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.2968, allocations: 51.86 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.2968, allocations: 11.94 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.2972, allocations: 103.8 kB / 1.084 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.2973, allocations: 23.95 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.2974, allocations: 39.8 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004719/0.2979, allocations: 167.8 kB / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.2979, allocations: 0 / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.196e-06/0.2979, allocations: 0 / 1.085 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.093e-05/0.2979, allocations: 4 kB / 1.085 GB, free: 10.58 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001037/0.299, allocations: 454.6 kB / 1.085 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.299, allocations: 8.031 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.2991, allocations: 8.844 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.2993, allocations: 184.2 kB / 1.085 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2994, allocations: 8.375 kB / 1.085 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.2994, allocations: 4.375 kB / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.2997, allocations: 89.94 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.2997, allocations: 4 kB / 1.085 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2998, allocations: 4 kB / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2998, allocations: 0 / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3, allocations: 55.83 kB / 1.085 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008621/0.3008, allocations: 344.7 kB / 1.086 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3011, allocations: 58.55 kB / 1.086 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.3012, allocations: 44.84 kB / 1.086 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.3012, allocations: 4.141 kB / 1.086 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.3015, allocations: 103.4 kB / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.793e-06/0.3015, allocations: 0 / 1.086 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005776/0.3021, allocations: 185.7 kB / 1.086 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.3022, allocations: 55.41 kB / 1.086 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3023, allocations: 132.4 kB / 1.086 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3023, allocations: 29.7 kB / 1.086 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.3024, allocations: 92.14 kB / 1.086 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.3025, allocations: 23.78 kB / 1.086 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.3025, allocations: 29.7 kB / 1.087 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3027, allocations: 322.8 kB / 1.087 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.97e-05/0.3028, allocations: 31.91 kB / 1.087 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3029, allocations: 68.22 kB / 1.087 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.3031, allocations: 92.2 kB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3031, allocations: 0 / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003085/0.3034, allocations: 137.4 kB / 1.087 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3034, allocations: 4 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3035, allocations: 4.078 kB / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3035, allocations: 0 / 1.087 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.3036, allocations: 15.98 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3036, allocations: 3.984 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.3037, allocations: 15.84 kB / 1.087 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3037, allocations: 4 kB / 1.087 GB, free: 7.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.0001291/0.3039, allocations: 135.5 kB / 1.087 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.3039, allocations: 4 kB / 1.087 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.3039, allocations: 8.375 kB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.3039, allocations: 8.031 kB / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3039, allocations: 0 / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.304, allocations: 0 / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.3046, allocations: 430.3 kB / 1.088 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3046, allocations: 3.938 kB / 1.088 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.3047, allocations: 4 kB / 1.088 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3047, allocations: 3.938 kB / 1.088 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.3047, allocations: 3.984 kB / 1.088 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.3047, allocations: 8.062 kB / 1.088 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3047, allocations: 3.938 kB / 1.088 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.3052, allocations: 247.4 kB / 1.088 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.226e-05/0.3052, allocations: 81.02 kB / 1.088 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.247e-05/0.3053, allocations: 11.98 kB / 1.088 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.3054, allocations: 4 kB / 1.088 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.3054, allocations: 11.92 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3055, allocations: 0 / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.3055, allocations: 99.27 kB / 1.088 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3055, allocations: 0 / 1.088 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003282/0.3059, allocations: 51.92 kB / 1.088 GB, free: 6.551 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004113/0.3063, allocations: 158.8 kB / 1.088 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.3066, allocations: 92 kB / 1.088 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.3066, allocations: 8.062 kB / 1.089 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3068, allocations: 43.98 kB / 1.089 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3071, allocations: 7.984 kB / 1.089 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.3076, allocations: 224.2 kB / 1.089 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3079, allocations: 0.6885 MB / 1.089 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.436e-05/0.308, allocations: 11.77 kB / 1.089 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.308, allocations: 11.44 kB / 1.089 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.1e-07/0.308, allocations: 0 / 1.089 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of Templates: time 0.004883/0.3129, allocations: 1.723 MB / 1.091 GB, free: 3.555 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0