Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_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.009116/0.009124, allocations: 98.98 kB / 15.73 MB, free: 6.012 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.001886/0.001886, allocations: 191 kB / 16.67 MB, free: 5.934 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.728/2.728, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.88 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6995, allocations: 159.1 MB / 1.22 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002557/0.7021, allocations: 1.472 MB / 1.222 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.7034, allocations: 0.7254 MB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.7034, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.7035, allocations: 3.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.981e-05/0.7035, allocations: 15.88 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.7041, allocations: 123.6 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.7042, allocations: 79.7 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.7043, allocations: 15.94 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.7044, allocations: 39.91 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.7045, allocations: 35.84 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.7045, allocations: 11.98 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.7047, allocations: 91.86 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/0.7048, allocations: 27.84 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.7048, allocations: 27.86 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.7051, allocations: 139.7 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7051, allocations: 4 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7051, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.944e-06/0.7051, allocations: 0 / 1.223 GB, free: 15.38 MB / 0.9512 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.0006561/0.7058, allocations: 420.7 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7058, allocations: 16.03 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.7058, allocations: 30.75 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.7059, allocations: 12.88 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.706, allocations: 180.2 kB / 1.223 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.7061, allocations: 12.38 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.7061, allocations: 4.375 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.7063, allocations: 65.78 kB / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.7063, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.7063, allocations: 4 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7063, allocations: 11.94 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.7065, allocations: 35.97 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.7071, allocations: 312.7 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.7073, allocations: 50.56 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.7074, allocations: 36.95 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.7074, allocations: 4 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.7076, allocations: 71.38 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 3.477e-06/0.7076, allocations: 0 / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.708, allocations: 145.6 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.7081, allocations: 55.41 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.7082, allocations: 125.8 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.7082, allocations: 29.7 kB / 1.224 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.7083, allocations: 88.14 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.7083, allocations: 15.91 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.7083, allocations: 25.7 kB / 1.225 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.7085, allocations: 322.8 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.923e-05/0.7086, allocations: 27.98 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.7087, allocations: 46.56 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.7089, allocations: 74.48 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7089, allocations: 0 / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002551/0.7092, allocations: 121.5 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.7092, allocations: 4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7092, allocations: 4 kB / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.7092, allocations: 0 / 1.225 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7093, allocations: 15.92 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7093, allocations: 7.875 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.291e-05/0.7094, allocations: 7.938 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7094, allocations: 4 kB / 1.225 GB, free: 12.78 MB / 0.9512 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.0001114/0.7095, allocations: 129.8 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.7096, allocations: 7.953 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.7096, allocations: 8.375 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.7096, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7096, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7096, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.7101, allocations: 386.4 kB / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7101, allocations: 0 / 1.226 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.223e-05/0.7102, allocations: 11.98 kB / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.7102, allocations: 0 / 1.226 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7102, allocations: 4 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.7102, allocations: 3.938 kB / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7102, allocations: 480 / 1.226 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.7105, allocations: 215.4 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.7106, allocations: 85.06 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.7106, allocations: 4 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.7107, allocations: 7.938 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.7108, allocations: 7.984 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7108, allocations: 0 / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.7109, allocations: 95.92 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7109, allocations: 0 / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002875/0.7112, allocations: 47.86 kB / 1.226 GB, free: 11.68 MB / 0.9512 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.0008717/0.712, allocations: 0.8015 MB / 1.227 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.7123, allocations: 79.88 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7123, allocations: 4.125 kB / 1.227 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.7124, allocations: 35.92 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.7127, allocations: 16.17 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.7144, allocations: 1.488 MB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.7147, allocations: 0.6923 MB / 1.229 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.7148, allocations: 4 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.7148, allocations: 23.42 kB / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7148, allocations: 0 / 1.229 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.7376, allocations: 2.658 MB / 1.232 GB, free: 5.898 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/8.401, allocations: 9.906 kB / 1.232 GB, free: 5.891 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_11_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