Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_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.001696/0.001696, allocations: 108 kB / 15.61 MB, free: 152 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.001938/0.001938, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.1 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5208, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.002402/0.5233, allocations: 1.475 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.5244, allocations: 0.7362 MB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.5244, allocations: 0 / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.772e-05/0.5245, allocations: 7.938 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.5245, allocations: 11.86 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.525, allocations: 123.6 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.5251, allocations: 79.69 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.5252, allocations: 16 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.22e-05/0.5253, allocations: 27.92 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.708e-05/0.5254, allocations: 43.81 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.5254, allocations: 8 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.5256, allocations: 99.84 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.583e-05/0.5256, allocations: 15.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.5257, allocations: 31.86 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.5259, allocations: 141.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5259, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.143e-06/0.5259, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.5259, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 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.0005514/0.5265, allocations: 424.8 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.5265, allocations: 11.97 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.5265, allocations: 34.75 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.5266, allocations: 12.84 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.5267, allocations: 164.4 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.5267, allocations: 4.375 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.5267, allocations: 4.375 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5269, allocations: 77.78 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.5269, allocations: 3.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5269, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.5269, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.5271, allocations: 39.91 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.5276, allocations: 324.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.5278, allocations: 42.56 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.5279, allocations: 36.95 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5279, allocations: 11.94 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.5281, allocations: 83.31 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.5281, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/0.5284, allocations: 129.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.5285, allocations: 55.41 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.5286, allocations: 113.8 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5286, allocations: 37.69 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.5286, allocations: 84.14 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.5287, allocations: 23.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.5287, allocations: 29.7 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/0.5288, allocations: 322.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.5289, allocations: 27.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.529, allocations: 50.5 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.5292, allocations: 74.86 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5292, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002379/0.5294, allocations: 117.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5294, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5294, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5295, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.383e-05/0.5296, allocations: 19.98 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.5296, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.5297, allocations: 11.84 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5297, allocations: 8 kB / 1.022 GB, free: 13.08 MB / 0.7794 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 7.774e-05/0.5298, allocations: 121.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.5298, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.5298, allocations: 12.31 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5298, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.5298, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.5298, allocations: 4 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004177/0.5303, allocations: 382.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5303, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.5303, allocations: 7.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5303, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.5303, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5303, allocations: 3.938 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5304, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.5306, allocations: 215.4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.5307, allocations: 81.02 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.5307, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.5308, allocations: 3.938 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.5308, allocations: 11.98 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5308, allocations: 4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.5309, allocations: 99.2 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5309, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002971/0.5312, allocations: 43.92 kB / 1.023 GB, free: 11.99 MB / 0.7794 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.0006971/0.5319, allocations: 0.8053 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.5321, allocations: 72.2 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5322, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.5323, allocations: 32.14 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.5325, allocations: 17.78 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.534, allocations: 1.491 MB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.5342, allocations: 0.6885 MB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.5343, allocations: 4 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.5343, allocations: 23.42 kB / 1.026 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.5343, allocations: 7.875 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.5514, allocations: 2.605 MB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.633, allocations: 16.02 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.csv. Warning: Get data of variable win.on from file Buildings_10_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