Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_9_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.007304/0.007304, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001662/0.001663, allocations: 191.8 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.396/2.396, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.44 kB / 0.9504 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002419/0.2305, allocations: 1.473 MB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2317, allocations: 0.7259 MB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.2318, allocations: 3.938 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.2318, allocations: 7.922 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.2319, allocations: 11.86 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.2324, allocations: 119.6 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2326, allocations: 79.77 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.2327, allocations: 23.91 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.2327, allocations: 31.92 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.425e-05/0.2328, allocations: 39.83 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2328, allocations: 4 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.233, allocations: 103.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.735e-05/0.2331, allocations: 19.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.2331, allocations: 31.84 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.2334, allocations: 135.8 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.2334, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2334, allocations: 7.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2334, allocations: 4 kB / 1.09 GB, free: 15.19 MB / 0.8575 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.0006264/0.234, allocations: 416.7 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2341, allocations: 12.03 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.2341, allocations: 34.73 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2342, allocations: 8.891 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2343, allocations: 172.3 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.2343, allocations: 12.31 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2343, allocations: 8.375 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.2345, allocations: 65.78 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2345, allocations: 0 / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2346, allocations: 3.984 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2346, allocations: 4 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2347, allocations: 39.92 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.2353, allocations: 324.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.2354, allocations: 50.56 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.256e-05/0.2355, allocations: 32.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2355, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.2357, allocations: 83.31 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 3.136e-06/0.2358, allocations: 3.984 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003902/0.2362, allocations: 137.6 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.2362, allocations: 55.39 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.513e-05/0.2363, allocations: 121.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2363, allocations: 25.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.2364, allocations: 92.22 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.2364, allocations: 23.81 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.2365, allocations: 33.7 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2366, allocations: 318.8 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.2367, allocations: 31.92 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.2368, allocations: 46.55 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.2369, allocations: 74.55 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2369, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002457/0.2372, allocations: 117.4 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.2372, allocations: 5.25 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2372, allocations: 4 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2372, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.495e-05/0.2373, allocations: 15.94 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2374, allocations: 8.047 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.2374, allocations: 7.953 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2375, allocations: 4.391 kB / 1.092 GB, free: 12.59 MB / 0.8575 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.301e-05/0.2375, allocations: 121.2 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.2376, allocations: 7.953 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.2376, allocations: 16.36 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2376, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2376, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2376, allocations: 4 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.2381, allocations: 386.4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2381, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.115e-05/0.2381, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2381, allocations: 0 / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2382, allocations: 3.984 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.2382, allocations: 7.938 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2382, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.2385, allocations: 207.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.554e-05/0.2385, allocations: 93 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.2386, allocations: 3.984 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-05/0.2387, allocations: 7.938 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.2387, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2387, allocations: 11.98 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.2388, allocations: 95.27 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2388, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002986/0.2391, allocations: 39.88 kB / 1.093 GB, free: 11.5 MB / 0.8575 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.0007697/0.2399, allocations: 0.8071 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2401, allocations: 67.91 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2401, allocations: 0 / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.2402, allocations: 39.97 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.2405, allocations: 11.92 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.2419, allocations: 1.492 MB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2422, allocations: 0.6885 MB / 1.096 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.697e-05/0.2422, allocations: 15.73 kB / 1.096 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.2423, allocations: 15.44 kB / 1.097 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.81e-07/0.2423, allocations: 4 kB / 1.097 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.2594, allocations: 2.647 MB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.386, allocations: 13.72 kB / 1.099 GB, free: 5.715 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_9_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