Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.001574/0.001574, allocations: 108 kB / 15.61 MB, free: 148 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.00181/0.00181, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.518/1.518, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.686/2.686, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.23 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2469, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003153/0.2501, allocations: 1.476 MB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2515, allocations: 0.7339 MB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.2515, allocations: 8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.2516, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.2517, allocations: 11.86 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.2522, allocations: 119.6 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.2523, allocations: 75.83 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.055e-05/0.2524, allocations: 8 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.91e-05/0.2525, allocations: 43.84 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.2526, allocations: 39.83 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2526, allocations: 8 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.2529, allocations: 95.84 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.2529, allocations: 15.92 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.253, allocations: 31.86 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.2532, allocations: 139.9 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2532, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2532, allocations: 3.938 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2533, allocations: 0 / 1.066 GB, free: 11.69 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.0006559/0.2539, allocations: 426.2 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.254, allocations: 8.031 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.144e-05/0.254, allocations: 34.75 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.2541, allocations: 8.844 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.2542, allocations: 180.2 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2542, allocations: 4.375 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2542, allocations: 8.359 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.2544, allocations: 73.72 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2544, allocations: 4 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2544, allocations: 7.938 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2544, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2546, allocations: 35.97 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005654/0.2551, allocations: 308.8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2553, allocations: 58.48 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.2554, allocations: 36.97 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.2554, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001887/0.2556, allocations: 79.44 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003814/0.256, allocations: 141.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.256, allocations: 55.41 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2562, allocations: 121.8 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2562, allocations: 29.7 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2562, allocations: 92.05 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2563, allocations: 15.75 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.2563, allocations: 25.7 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.2564, allocations: 330.8 kB / 1.068 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.2565, allocations: 23.98 kB / 1.068 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.306e-05/0.2566, allocations: 50.98 kB / 1.068 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.2568, allocations: 78.78 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.2568, allocations: 8 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002353/0.257, allocations: 109.6 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2571, allocations: 5.562 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.2571, allocations: 0 / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2571, allocations: 4 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.2572, allocations: 15.92 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2572, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.861e-05/0.2573, allocations: 7.906 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.2573, allocations: 12.05 kB / 1.069 GB, free: 9.082 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 8.733e-05/0.2574, allocations: 125 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2574, allocations: 11.91 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/0.2574, allocations: 8.312 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2574, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2575, allocations: 4 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2575, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.2579, allocations: 386.4 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2579, allocations: 3.938 kB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.258, allocations: 7.984 kB / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.258, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.258, allocations: 0 / 1.069 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.258, allocations: 3.938 kB / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.258, allocations: 0 / 1.069 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.2583, allocations: 215.4 kB / 1.069 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.2583, allocations: 81.02 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.2583, allocations: 4 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.2584, allocations: 7.922 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.2585, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.2585, allocations: 4 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.057e-05/0.2586, allocations: 99.42 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2586, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002998/0.2589, allocations: 43.98 kB / 1.07 GB, free: 7.996 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.0007201/0.2596, allocations: 0.8036 MB / 1.07 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.2598, allocations: 75.88 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2598, allocations: 0 / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.2599, allocations: 39.92 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2602, allocations: 7.922 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.2618, allocations: 1.485 MB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.262, allocations: 0.6961 MB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.776e-05/0.2621, allocations: 7.984 kB / 1.073 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2621, allocations: 19.44 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2621, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2797, allocations: 2.608 MB / 1.075 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.428, allocations: 9.672 kB / 1.075 GB, free: 2.242 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_latest_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_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