Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 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.001431/0.001431, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.485/2.485, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 62.92 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2776, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002674/0.2804, allocations: 1.512 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2816, allocations: 0.7715 MB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.2817, allocations: 3.938 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.2817, allocations: 3.938 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.757e-05/0.2818, allocations: 15.86 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.2824, allocations: 139.5 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2825, allocations: 95.81 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.2826, allocations: 15.94 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.854e-05/0.2827, allocations: 47.83 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.597e-05/0.2828, allocations: 51.81 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.2829, allocations: 8 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.283, allocations: 99.84 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.2831, allocations: 31.95 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/0.2831, allocations: 35.8 kB / 1.056 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.2834, allocations: 171.8 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2834, allocations: 0 / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2834, allocations: 0 / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2834, allocations: 4 kB / 1.056 GB, free: 5.273 MB / 0.8106 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.0006239/0.284, allocations: 446.6 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2841, allocations: 8.625 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.2842, allocations: 42.73 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.2842, allocations: 12.84 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2843, allocations: 168.3 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.2843, allocations: 8.312 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.2844, allocations: 4.375 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.2846, allocations: 89.75 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.2846, allocations: 7.875 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2846, allocations: 4 kB / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2846, allocations: 0 / 1.057 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2848, allocations: 47.95 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.2855, allocations: 352.5 kB / 1.057 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2857, allocations: 62.55 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.2858, allocations: 44.83 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2859, allocations: 4.141 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.2861, allocations: 91.39 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.2861, allocations: 0 / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004972/0.2866, allocations: 181.5 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.2867, allocations: 63.39 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.656e-05/0.2868, allocations: 121.8 kB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.2868, allocations: 33.7 kB / 1.058 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2868, allocations: 88.12 kB / 1.058 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.2869, allocations: 23.7 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.2869, allocations: 33.7 kB / 1.058 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.287, allocations: 326.8 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.2871, allocations: 27.98 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.2872, allocations: 71.08 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.2874, allocations: 100.2 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2874, allocations: 0 / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002442/0.2877, allocations: 121.5 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.2877, allocations: 8 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2877, allocations: 0 / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2877, allocations: 4.094 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2878, allocations: 23.92 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2879, allocations: 4 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.2879, allocations: 11.92 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.288, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 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 8.925e-05/0.288, allocations: 127.2 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.2881, allocations: 7.906 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.2881, allocations: 12.36 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2881, allocations: 4 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2881, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2881, allocations: 0 / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.2887, allocations: 430.4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2887, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.2888, allocations: 4 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2888, allocations: 3.938 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.2888, allocations: 12.05 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2888, allocations: 3.938 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2888, allocations: 7.938 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.2892, allocations: 235.8 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.2892, allocations: 88.95 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.2892, allocations: 0 / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2893, allocations: 11.98 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.2894, allocations: 15.92 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2894, allocations: 0 / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.975e-05/0.2895, allocations: 95.27 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2895, allocations: 0 / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002986/0.2898, allocations: 43.98 kB / 1.059 GB, free: 1.234 MB / 0.8106 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.0008397/0.2906, allocations: 0.8365 MB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.2909, allocations: 91.88 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2909, allocations: 8.188 kB / 1.06 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.291, allocations: 51.91 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.2913, allocations: 11.92 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.2929, allocations: 1.561 MB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.2932, allocations: 0.6922 MB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.2933, allocations: 7.984 kB / 1.063 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.2933, allocations: 23.42 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.2933, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3114, allocations: 2.96 MB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/7.054, allocations: 4.875 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed