Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_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.001623/0.001623, allocations: 108 kB / 15.61 MB, free: 148 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.002016/0.002016, allocations: 194.5 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.624/2.624, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5101, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002612/0.5127, allocations: 1.491 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.514, allocations: 0.7284 MB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.514, allocations: 0 / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.5141, allocations: 3.938 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.707e-05/0.5141, allocations: 23.8 kB / 1.02 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.5146, allocations: 119.6 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.5147, allocations: 75.78 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.576e-05/0.5148, allocations: 11.98 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.5149, allocations: 31.92 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.515, allocations: 43.91 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.515, allocations: 12 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.5152, allocations: 95.75 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.5153, allocations: 15.92 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.5153, allocations: 35.84 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.5155, allocations: 137.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5156, allocations: 0 / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5156, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.5156, 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.0005754/0.5162, allocations: 424.8 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.5162, allocations: 12.03 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.5162, allocations: 34.73 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.5163, allocations: 8.844 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.5164, allocations: 168.3 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.5164, allocations: 4.375 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.5164, allocations: 8.375 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.5166, allocations: 65.78 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5166, allocations: 0 / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.5166, allocations: 3.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5167, allocations: 8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.5168, allocations: 31.98 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005762/0.5174, allocations: 324.6 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.5175, allocations: 62.44 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.5176, allocations: 28.97 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.5176, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.5178, allocations: 71.38 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.5178, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003861/0.5182, allocations: 145.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.5183, allocations: 55.39 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.5184, allocations: 117.8 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.5184, allocations: 25.7 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.877e-05/0.5184, allocations: 100.2 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.5185, allocations: 11.81 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.5185, allocations: 29.7 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5186, allocations: 318.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.5187, allocations: 31.98 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.5188, allocations: 46.55 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.519, allocations: 74.48 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.519, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.5192, allocations: 113.5 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.5193, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5193, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.5193, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.5194, allocations: 12 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.5194, allocations: 3.984 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.738e-05/0.5195, allocations: 11.84 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.5195, allocations: 7.938 kB / 1.022 GB, free: 13.09 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 8.689e-05/0.5196, allocations: 125.8 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.5196, allocations: 4 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.5196, allocations: 16.36 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5197, allocations: 0 / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.5197, allocations: 3.938 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5197, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.5201, allocations: 390.7 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5201, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.5202, allocations: 4 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.5202, allocations: 3.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5202, allocations: 7.984 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5202, allocations: 3.938 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5202, allocations: 0 / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5205, allocations: 203.6 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.5205, allocations: 89.02 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.5206, allocations: 3.984 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.21e-05/0.5207, allocations: 7.938 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.5207, allocations: 11.92 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.5207, allocations: 0 / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.5208, allocations: 91.27 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5208, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000303/0.5211, allocations: 43.94 kB / 1.023 GB, free: 12 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.0007267/0.5218, allocations: 0.8047 MB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.5221, allocations: 79.89 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5221, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.824e-05/0.5222, allocations: 39.86 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.000252/0.5225, allocations: 8.875 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.524, allocations: 1.482 MB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.5242, allocations: 0.6902 MB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.5242, allocations: 11.94 kB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.5243, allocations: 19.44 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.5243, allocations: 0 / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.5418, allocations: 2.619 MB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.556, allocations: 6.766 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_10_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