Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_9_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.004043/0.004043, allocations: 99.66 kB / 15.73 MB, free: 5.551 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.001063/0.001063, allocations: 196.5 kB / 16.68 MB, free: 5.48 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.334/2.334, allocations: 390.3 MB / 0.6648 GB, free: 256 kB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 58.33 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2555, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002462/0.258, allocations: 1.474 MB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001221/0.2592, allocations: 0.722 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.2593, allocations: 7.938 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.238e-05/0.2593, allocations: 7.875 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.2594, allocations: 11.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.2599, allocations: 119.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2601, allocations: 79.81 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.2601, allocations: 15.98 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.678e-05/0.2602, allocations: 31.91 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.077e-05/0.2603, allocations: 47.77 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2603, allocations: 11.94 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2605, allocations: 91.91 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.774e-05/0.2606, allocations: 19.92 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2606, allocations: 31.84 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.2609, allocations: 143.8 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.2609, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2609, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2609, allocations: 0 / 1.09 GB, free: 15.24 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.0006116/0.2615, allocations: 428.7 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2616, allocations: 8.031 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/0.2616, allocations: 34.75 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.2617, allocations: 4.891 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2618, allocations: 176.3 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.2618, allocations: 12.31 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.2618, allocations: 4.375 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.262, allocations: 73.77 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.262, allocations: 3.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2621, allocations: 4 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2621, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.2622, allocations: 39.97 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.2628, allocations: 312.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.2629, allocations: 58.56 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.263, allocations: 44.89 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.2631, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001839/0.2632, allocations: 71.38 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.2633, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003992/0.2637, allocations: 141.6 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.2637, allocations: 55.41 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.092e-05/0.2638, allocations: 117.8 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2638, allocations: 37.64 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.2639, allocations: 88.2 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2639, allocations: 19.84 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.264, allocations: 25.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2641, allocations: 326.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.2642, allocations: 27.98 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.395e-05/0.2643, allocations: 50.55 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2644, allocations: 66.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2645, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000241/0.2647, allocations: 113.5 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.2647, allocations: 8 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2647, allocations: 3.938 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2648, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.2649, allocations: 19.98 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.2649, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.2649, allocations: 7.953 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.265, allocations: 7.984 kB / 1.092 GB, free: 12.63 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.785e-05/0.2651, allocations: 121.8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.2651, allocations: 11.89 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.2651, allocations: 8.375 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.2651, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2651, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2651, allocations: 0 / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.2656, allocations: 390.8 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2656, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.292e-05/0.2656, allocations: 7.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2656, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2657, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.2657, allocations: 7.875 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2657, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.266, allocations: 211.5 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.266, allocations: 89 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.2661, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.2662, allocations: 3.938 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.2662, allocations: 7.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.2662, allocations: 0 / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.2663, allocations: 103.9 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 0 / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003042/0.2666, allocations: 39.86 kB / 1.093 GB, free: 11.55 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.0007579/0.2674, allocations: 0.8112 MB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.2676, allocations: 71.89 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2676, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2677, allocations: 35.98 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.268, allocations: 13.95 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2695, allocations: 1.492 MB / 1.096 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2697, allocations: 0.6885 MB / 1.096 GB, free: 8.309 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.906e-05/0.2698, allocations: 7.75 kB / 1.096 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.2698, allocations: 23.42 kB / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2698, allocations: 0 / 1.097 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0188/0.2887, allocations: 2.647 MB / 1.099 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.398/7.687, allocations: 18.09 kB / 1.099 GB, free: 5.75 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_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_Nicol2001WindowsUK.fmu > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_9_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