Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_latest_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.00742/0.00742, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.002095/0.002095, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 482.4 MB / 0.7548 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 63.77 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2772, allocations: 162.2 MB / 1.241 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002514/0.2797, allocations: 1.478 MB / 1.243 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.281, allocations: 0.726 MB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.281, allocations: 3.938 kB / 1.244 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.2811, allocations: 3.938 kB / 1.244 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.2811, allocations: 11.86 kB / 1.244 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.2816, allocations: 119.6 kB / 1.244 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.2817, allocations: 79.77 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.692e-05/0.2818, allocations: 11.98 kB / 1.244 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.2819, allocations: 43.84 kB / 1.244 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.043e-05/0.282, allocations: 35.89 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.282, allocations: 7.938 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2822, allocations: 95.91 kB / 1.244 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.911e-05/0.2823, allocations: 19.97 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.2823, allocations: 31.86 kB / 1.244 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2825, allocations: 143.7 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2826, allocations: 4 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2826, allocations: 0 / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.2826, allocations: 3.938 kB / 1.244 GB, free: 6.469 MB / 0.9669 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.0006018/0.2832, allocations: 424.7 kB / 1.245 GB, free: 6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2832, allocations: 12.03 kB / 1.245 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.2833, allocations: 34.75 kB / 1.245 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.2833, allocations: 8.891 kB / 1.245 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2834, allocations: 176.3 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.2835, allocations: 4.375 kB / 1.245 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2835, allocations: 4.375 kB / 1.245 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2837, allocations: 81.7 kB / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2837, allocations: 0 / 1.245 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2837, allocations: 3.984 kB / 1.245 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2837, allocations: 4 kB / 1.245 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2839, allocations: 35.97 kB / 1.245 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.2845, allocations: 308.8 kB / 1.245 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.2846, allocations: 58.5 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.2847, allocations: 28.97 kB / 1.245 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2847, allocations: 7.984 kB / 1.245 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.2849, allocations: 71.39 kB / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.2849, allocations: 0 / 1.245 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004106/0.2853, allocations: 149.6 kB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.2854, allocations: 51.41 kB / 1.246 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.2855, allocations: 121.8 kB / 1.246 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.2855, allocations: 29.69 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.2856, allocations: 96.03 kB / 1.246 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.2856, allocations: 19.84 kB / 1.246 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.2857, allocations: 29.7 kB / 1.246 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2858, allocations: 326.8 kB / 1.246 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.2859, allocations: 23.98 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.286, allocations: 42.56 kB / 1.246 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.2862, allocations: 78.48 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2862, allocations: 0 / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002606/0.2865, allocations: 117.5 kB / 1.246 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2865, allocations: 4 kB / 1.246 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2865, allocations: 4 kB / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.2865, allocations: 0 / 1.246 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.2866, allocations: 11.98 kB / 1.246 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2866, allocations: 0 / 1.246 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.2867, allocations: 12.06 kB / 1.246 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.2867, allocations: 4 kB / 1.246 GB, free: 3.875 MB / 0.9669 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.0001031/0.2868, allocations: 132.8 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.2869, allocations: 7.953 kB / 1.247 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.2869, allocations: 12.38 kB / 1.247 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2869, allocations: 4 kB / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2869, allocations: 0 / 1.247 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.2874, allocations: 378.4 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2874, allocations: 0 / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.545e-05/0.2875, allocations: 11.92 kB / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2875, allocations: 0 / 1.247 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2875, allocations: 8 kB / 1.247 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.2875, allocations: 7.875 kB / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2875, allocations: 480 / 1.247 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.2878, allocations: 211.5 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.2879, allocations: 89 kB / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2879, allocations: 0 / 1.247 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.288, allocations: 11.94 kB / 1.247 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.2881, allocations: 7.984 kB / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.2881, allocations: 0 / 1.247 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.132e-05/0.2881, allocations: 95.86 kB / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2881, allocations: 0 / 1.247 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002936/0.2884, allocations: 43.92 kB / 1.247 GB, free: 2.773 MB / 0.9669 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.0008298/0.2893, allocations: 0.7962 MB / 1.248 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.2895, allocations: 79.89 kB / 1.248 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.2895, allocations: 0 / 1.248 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2896, allocations: 35.97 kB / 1.248 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2899, allocations: 17.64 kB / 1.248 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.2916, allocations: 1.49 MB / 1.25 GB, free: 256 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2919, allocations: 0.6885 MB / 1.25 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.292, allocations: 4 kB / 1.25 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.292, allocations: 23.42 kB / 1.25 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.292, allocations: 4 kB / 1.25 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3146, allocations: 2.642 MB / 1.253 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.909, allocations: 14.23 kB / 1.253 GB, free: 13 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_latest_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