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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.000958/0.000958, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007526/0.007526, allocations: 169 kB / 16.26 MB, free: 6.652 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.618/2.618, allocations: 443.4 MB / 0.7176 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12.25 kB / 0.8797 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2811, allocations: 155.2 MB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001565/0.2827, allocations: 1.233 MB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2839, allocations: 0.7524 MB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.284, allocations: 0 / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.306e-05/0.284, allocations: 7.938 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.839e-05/0.2841, allocations: 15.86 kB / 1.033 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.2846, allocations: 111.8 kB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2847, allocations: 99.73 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.152e-05/0.2848, allocations: 8.281 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.2849, allocations: 43.84 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.285, allocations: 51.75 kB / 1.034 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.2851, allocations: 4 kB / 1.034 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.2852, allocations: 91.91 kB / 1.034 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.2853, allocations: 23.89 kB / 1.034 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.423e-05/0.2854, allocations: 65.5 kB / 1.034 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.2856, allocations: 159.5 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2856, allocations: 0 / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2856, allocations: 4 kB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.2856, allocations: 0 / 1.034 GB, free: 1.535 MB / 0.7794 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.0006378/0.2863, allocations: 446.7 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2863, allocations: 8.031 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.2864, allocations: 42.73 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.707e-05/0.2864, allocations: 8.844 kB / 1.034 GB, free: 0.9727 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.2865, allocations: 168.3 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.2866, allocations: 384 / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2866, allocations: 12.38 kB / 1.034 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.2868, allocations: 89.69 kB / 1.035 GB, free: 0.6641 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2869, allocations: 8 kB / 1.035 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.2869, allocations: 4 kB / 1.035 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2869, allocations: 3.984 kB / 1.035 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.2871, allocations: 51.95 kB / 1.035 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.2878, allocations: 348.6 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.288, allocations: 62.55 kB / 1.035 GB, free: 140 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.2881, allocations: 52.83 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.2882, allocations: 3.938 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.2884, allocations: 91.5 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.2884, allocations: 4 kB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.0005077/0.2889, allocations: 193.5 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.289, allocations: 59.39 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.2891, allocations: 125.8 kB / 1.036 GB, free: 15.57 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.2891, allocations: 33.69 kB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.2891, allocations: 88.14 kB / 1.036 GB, free: 15.45 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.2892, allocations: 11.81 kB / 1.036 GB, free: 15.43 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.2892, allocations: 29.7 kB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.2893, allocations: 322.8 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.2894, allocations: 31.98 kB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2895, allocations: 72.2 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.2897, allocations: 92.22 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2897, allocations: 0 / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002615/0.29, allocations: 141.4 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.29, allocations: 8 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.29, allocations: 0 / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.29, allocations: 4 kB / 1.036 GB, free: 14.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2901, allocations: 19.92 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2902, allocations: 4 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.2902, allocations: 15.94 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2903, allocations: 7.984 kB / 1.036 GB, free: 14.65 MB / 0.795 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.0001086/0.2904, allocations: 132.7 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.2904, allocations: 4 kB / 1.037 GB, free: 14.51 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.2904, allocations: 4.375 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2904, allocations: 4 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2905, allocations: 0 / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2905, allocations: 0 / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.291, allocations: 442.2 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.291, allocations: 0 / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.2911, allocations: 8 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2911, allocations: 0 / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.2911, allocations: 7.984 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2911, allocations: 4 kB / 1.037 GB, free: 13.99 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.2911, allocations: 8 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.2915, allocations: 255.2 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.2916, allocations: 88.95 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.2916, allocations: 0 / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2917, allocations: 11.98 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.2918, allocations: 11.94 kB / 1.037 GB, free: 13.59 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2918, allocations: 7.984 kB / 1.037 GB, free: 13.58 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.203e-05/0.2919, allocations: 94.27 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2919, allocations: 0 / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002986/0.2922, allocations: 40 kB / 1.037 GB, free: 13.45 MB / 0.795 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.000845/0.293, allocations: 0.8474 MB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.2933, allocations: 99.89 kB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2933, allocations: 0 / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.2935, allocations: 47.97 kB / 1.038 GB, free: 12.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.2937, allocations: 16.12 kB / 1.038 GB, free: 12.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.2955, allocations: 1.606 MB / 1.04 GB, free: 10.71 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.2957, allocations: 0.6926 MB / 1.041 GB, free: 9.996 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.2957, allocations: 4 kB / 1.041 GB, free: 9.992 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.2958, allocations: 27.42 kB / 1.041 GB, free: 9.969 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2958, allocations: 0 / 1.041 GB, free: 9.969 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.3083, allocations: 2.661 MB / 1.043 GB, free: 7.492 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.3085, allocations: 265 kB / 1.044 GB, free: 7.152 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.149, allocations: 6.469 kB / 1.044 GB, free: 7.148 MB / 0.795 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