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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.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.00799/0.00799, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001839/0.001839, allocations: 201.8 kB / 16.68 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.703/2.703, allocations: 469.4 MB / 0.7422 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 71.89 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.27, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002507/0.2726, allocations: 1.479 MB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2738, allocations: 0.7245 MB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.807e-05/0.2739, allocations: 4 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.274, allocations: 7.922 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.274, allocations: 15.81 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2746, allocations: 127.5 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.2747, allocations: 75.77 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.282e-05/0.2748, allocations: 19.94 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.2749, allocations: 31.92 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.452e-05/0.275, allocations: 43.81 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.275, allocations: 8 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.2752, allocations: 95.84 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.2752, allocations: 19.92 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.2753, allocations: 27.86 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.2755, allocations: 143.5 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2755, allocations: 0 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2755, allocations: 3.938 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.2755, allocations: 0 / 1.222 GB, free: 11.87 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.0005623/0.2761, allocations: 424.7 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2761, allocations: 8.031 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.2762, allocations: 34.73 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.2762, allocations: 8.891 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2763, allocations: 176.3 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2764, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2764, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.2766, allocations: 73.72 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2766, allocations: 4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2766, allocations: 7.984 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.2766, allocations: 0 / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2767, allocations: 35.92 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005493/0.2773, allocations: 316.7 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.2774, allocations: 50.56 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.2775, allocations: 28.97 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.2775, allocations: 4.078 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2777, allocations: 83.3 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2777, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003761/0.2781, allocations: 145.6 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.2782, allocations: 55.39 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/0.2783, allocations: 121.8 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2783, allocations: 33.7 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.2783, allocations: 88.12 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.2784, allocations: 15.91 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.2784, allocations: 29.7 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.2785, allocations: 318.8 kB / 1.224 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.2786, allocations: 35.91 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.63e-05/0.2787, allocations: 50.55 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.2789, allocations: 70.48 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2789, allocations: 4 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002367/0.2791, allocations: 113.5 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2792, allocations: 8 kB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2792, allocations: 3.938 kB / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2792, allocations: 0 / 1.225 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.236e-05/0.2793, allocations: 15.92 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.2793, allocations: 4.391 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.779e-05/0.2794, allocations: 7.938 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2794, allocations: 8.062 kB / 1.225 GB, free: 9.266 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 8.287e-05/0.2795, allocations: 121.8 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.2795, allocations: 3.953 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.2795, allocations: 16.36 kB / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2795, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2796, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2796, allocations: 0 / 1.225 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.28, allocations: 390.3 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.28, allocations: 4 kB / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.2801, allocations: 0 / 1.225 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2801, allocations: 4 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2801, allocations: 3.984 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.2801, allocations: 3.938 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2801, allocations: 0 / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.2804, allocations: 211.5 kB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.2804, allocations: 81.06 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2805, allocations: 3.984 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.387e-05/0.2806, allocations: 7.938 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.2806, allocations: 11.98 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2806, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.787e-05/0.2807, allocations: 95.27 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.2807, allocations: 0 / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002996/0.281, allocations: 39.88 kB / 1.226 GB, free: 8.18 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.0007196/0.2817, allocations: 0.8231 MB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.282, allocations: 75.89 kB / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.282, allocations: 0 / 1.227 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.2821, allocations: 31.98 kB / 1.227 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.2823, allocations: 11.94 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2838, allocations: 1.5 MB / 1.228 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.284, allocations: 0.6846 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.2841, allocations: 15.95 kB / 1.229 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.2841, allocations: 19.44 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.2841, allocations: 4 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.301, allocations: 2.66 MB / 1.231 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.437, allocations: 7.922 kB / 1.231 GB, free: 2.363 MB / 0.9825 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