Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.001595/0.001595, 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.001699/0.001699, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.533/2.533, allocations: 469.8 MB / 0.7421 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 65.12 kB / 0.9082 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2786, allocations: 159.2 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002806/0.2815, allocations: 1.547 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2827, allocations: 0.7168 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.2828, allocations: 7.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-05/0.2828, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.652e-05/0.2829, allocations: 11.88 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2834, allocations: 115.8 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2835, allocations: 67.84 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.2836, allocations: 11.98 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.199e-05/0.2837, allocations: 39.89 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.2838, allocations: 31.84 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.2838, allocations: 11.94 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.284, allocations: 99.91 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.2841, allocations: 19.91 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.2841, allocations: 35.86 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.2844, allocations: 139.9 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2844, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2844, allocations: 3.938 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2844, allocations: 0 / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006898/0.2851, allocations: 413 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2851, allocations: 12.03 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2852, allocations: 42.69 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.2852, allocations: 12.84 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.2854, allocations: 180.2 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2854, allocations: 384 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2854, allocations: 4.375 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.2856, allocations: 73.78 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.2856, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.2856, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.2856, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.2858, allocations: 51.84 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.2864, allocations: 308.8 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.2865, allocations: 46.55 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.2866, allocations: 36.97 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.2866, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2868, allocations: 83.31 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.2868, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003735/0.2872, allocations: 141.6 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2872, allocations: 55.41 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2873, allocations: 125.8 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2874, allocations: 25.7 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.2874, allocations: 92.05 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.2875, allocations: 15.75 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.2875, allocations: 33.7 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2877, allocations: 318.8 kB / 1.068 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.2878, allocations: 31.92 kB / 1.068 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.2879, allocations: 50.55 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.2881, allocations: 66.56 kB / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.2881, allocations: 0 / 1.068 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002322/0.2883, allocations: 117.6 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2883, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.2883, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2883, allocations: 4 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.2884, allocations: 15.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2885, allocations: 0 / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.334e-05/0.2885, allocations: 11.84 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.2885, allocations: 11.98 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001088/0.2887, allocations: 122.7 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.2887, allocations: 7.906 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.2887, allocations: 8.375 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2887, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2887, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.2887, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.2892, allocations: 386.3 kB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2892, allocations: 0 / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.2893, allocations: 11.98 kB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2893, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.2893, allocations: 0 / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.2893, allocations: 11.94 kB / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2893, allocations: 0 / 1.069 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2896, allocations: 211.3 kB / 1.069 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.2897, allocations: 85.02 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2897, allocations: 4 kB / 1.069 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/0.2898, allocations: 11.92 kB / 1.069 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.2899, allocations: 4 kB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.2899, allocations: 7.984 kB / 1.069 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.089e-05/0.29, allocations: 95.86 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.29, allocations: 0 / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002682/0.2902, allocations: 39.98 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008756/0.2911, allocations: 0.7953 MB / 1.07 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.2914, allocations: 83.88 kB / 1.07 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.2914, allocations: 4.062 kB / 1.07 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.412e-05/0.2915, allocations: 31.98 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.2917, allocations: 17.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.2934, allocations: 1.491 MB / 1.072 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2937, allocations: 0.6922 MB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.2938, allocations: 8 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.2938, allocations: 23.42 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2938, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.698/1.992, allocations: 2.5 MB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004935/1.992, allocations: 274.1 kB / 1.075 GB, free: 2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/4.731, allocations: 0 / 1.075 GB, free: 2 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,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.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed