Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 190.7 kB / 16.67 MB, free: 6.539 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.296, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002468/0.2985, allocations: 1.526 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2998, allocations: 0.7557 MB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.106e-05/0.2998, allocations: 3.938 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.2999, allocations: 3.938 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.19e-05/0.2999, allocations: 11.81 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.3005, allocations: 135.6 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.3006, allocations: 103.7 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.3007, allocations: 19.98 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.279e-05/0.3008, allocations: 47.84 kB / 1.223 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.3009, allocations: 43.88 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.3009, allocations: 15.94 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.3011, allocations: 99.84 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3012, allocations: 23.95 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.3012, allocations: 39.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.3015, allocations: 167.5 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3015, allocations: 7.938 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3015, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3015, allocations: 3.938 kB / 1.223 GB, free: 11.32 MB / 0.9825 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.0006646/0.3022, allocations: 463.9 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3022, allocations: 8.031 kB / 1.224 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.3023, allocations: 42.75 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3023, allocations: 8.891 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3025, allocations: 188.2 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3025, allocations: 384 / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.3025, allocations: 12.38 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.3028, allocations: 89.69 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.3028, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3028, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3028, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.303, allocations: 47.97 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.3037, allocations: 352.6 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3039, allocations: 62.58 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.304, allocations: 52.83 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.3041, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.3043, allocations: 95.34 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3043, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005474/0.3049, allocations: 185.5 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.3049, allocations: 59.39 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.305, allocations: 129.8 kB / 1.225 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.3051, allocations: 33.69 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.423e-05/0.3051, allocations: 92.28 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.3052, allocations: 15.91 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.3052, allocations: 29.7 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3053, allocations: 322.8 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.3054, allocations: 35.98 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.3056, allocations: 68.27 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3057, allocations: 96.2 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3057, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002572/0.306, allocations: 125.5 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.306, allocations: 4 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.306, allocations: 0 / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3061, allocations: 7.984 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3062, allocations: 15.94 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3062, allocations: 12.02 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.3063, allocations: 15.89 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3063, allocations: 4 kB / 1.226 GB, free: 8.43 MB / 0.9825 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 9.797e-05/0.3064, allocations: 125.8 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.3064, allocations: 3.953 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.3064, allocations: 20.3 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3065, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3065, allocations: 4.062 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3065, allocations: 4 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006112/0.3071, allocations: 430.4 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3071, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.3071, allocations: 7.984 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3072, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3072, allocations: 0 / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3072, allocations: 3.984 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3072, allocations: 3.938 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.3076, allocations: 247.4 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.3076, allocations: 85.06 kB / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.3077, allocations: 0 / 1.227 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3078, allocations: 7.984 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.3078, allocations: 15.92 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.3079, allocations: 8 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.3079, allocations: 95.14 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3079, allocations: 0 / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002878/0.3082, allocations: 47.86 kB / 1.227 GB, free: 7.238 MB / 0.9825 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.0009112/0.3091, allocations: 0.8398 MB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.3094, allocations: 95.86 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3095, allocations: 0 / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3096, allocations: 52.16 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3099, allocations: 11.94 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.3116, allocations: 1.591 MB / 1.229 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3119, allocations: 0.691 MB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.973e-05/0.3119, allocations: 8 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.17e-05/0.312, allocations: 23.42 kB / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.312, allocations: 0 / 1.23 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8749/1.187, allocations: 3.008 MB / 1.233 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.37, allocations: 14.78 kB / 1.233 GB, free: 0.8984 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed