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.004552/0.004552, allocations: 98.62 kB / 15.73 MB, free: 6.051 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.001309/0.001309, allocations: 183.8 kB / 16.67 MB, free: 5.973 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.881/2.881, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 71.88 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2805, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002476/0.283, allocations: 1.479 MB / 1.222 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2842, allocations: 0.7323 MB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.2842, allocations: 0 / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.872e-05/0.2843, allocations: 3.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.2843, allocations: 15.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.2849, allocations: 119.6 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.285, allocations: 83.7 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.2851, allocations: 23.94 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.2852, allocations: 27.92 kB / 1.223 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.178e-05/0.2852, allocations: 39.83 kB / 1.223 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2853, allocations: 8 kB / 1.223 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.2855, allocations: 95.84 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.867e-05/0.2855, allocations: 19.91 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.2856, allocations: 31.86 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2858, allocations: 143.5 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2858, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2858, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2858, allocations: 0 / 1.223 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006116/0.2864, allocations: 420.7 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2865, allocations: 8.031 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.2865, allocations: 42.73 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.2866, allocations: 4.891 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2867, allocations: 176.3 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2867, allocations: 8.375 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2868, allocations: 12.31 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.287, allocations: 69.78 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.287, allocations: 0 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.287, allocations: 3.938 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.287, allocations: 0 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2871, allocations: 35.97 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.2877, allocations: 324.6 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2879, allocations: 50.56 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.288, allocations: 32.97 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.288, allocations: 0 / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.2882, allocations: 83.44 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.2882, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004227/0.2886, allocations: 141.5 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.2887, allocations: 55.41 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2888, allocations: 121.8 kB / 1.224 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2888, allocations: 29.7 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.2889, allocations: 88.14 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.2889, allocations: 19.89 kB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.289, allocations: 29.7 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2891, allocations: 322.8 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.628e-05/0.2892, allocations: 23.98 kB / 1.225 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.2893, allocations: 50.55 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2895, allocations: 78.47 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2895, allocations: 4 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002501/0.2898, allocations: 101.6 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.2898, allocations: 8 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2898, allocations: 3.984 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2898, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.2899, allocations: 20 kB / 1.225 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2899, allocations: 7.938 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.92e-05/0.29, allocations: 11.92 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.29, allocations: 4 kB / 1.225 GB, free: 8.934 MB / 0.9825 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 9.943e-05/0.2901, allocations: 117.8 kB / 1.225 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.793e-05/0.2902, allocations: 7.953 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.2902, allocations: 12.36 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2902, allocations: 0 / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2902, allocations: 4 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2902, allocations: 0 / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004995/0.2907, allocations: 390.8 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2907, allocations: 0 / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.2908, allocations: 0 / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2908, allocations: 4 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.2908, allocations: 3.938 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.2908, allocations: 7.922 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2908, allocations: 4 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.2911, allocations: 203.6 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.2912, allocations: 89 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2912, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.2913, allocations: 11.92 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.2914, allocations: 4 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2914, allocations: 3.984 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.073e-05/0.2914, allocations: 103.9 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2914, allocations: 0 / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002943/0.2917, allocations: 39.88 kB / 1.226 GB, free: 7.84 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: 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.0008348/0.2926, allocations: 0.8149 MB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.2928, allocations: 63.91 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2928, allocations: 0 / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.293, allocations: 39.91 kB / 1.227 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2932, allocations: 18.06 kB / 1.227 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.2949, allocations: 1.498 MB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.2952, allocations: 0.6924 MB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.642e-05/0.2953, allocations: 4 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.2953, allocations: 27.36 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2953, allocations: 0 / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3178, allocations: 2.652 MB / 1.232 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.384, allocations: 9.312 kB / 1.232 GB, free: 2.043 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset