Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",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.001936/0.001936, allocations: 108.6 kB / 15.73 MB, free: 72 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.001766/0.001766, allocations: 187.1 kB / 16.66 MB, free: 6.602 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.865/2.865, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 71.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2773, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002184/0.2796, allocations: 1.231 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.281, allocations: 0.9978 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.2811, allocations: 8 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.2811, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003971/0.2815, allocations: 119.5 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.2815, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.509e-05/0.2816, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.2816, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.2816, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.2817, allocations: 7.922 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.2817, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.282, allocations: 127.8 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.399e-06/0.282, allocations: 0 / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.282, allocations: 7.938 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2822, allocations: 103.8 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2822, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2822, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.2822, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003546/0.2826, allocations: 355.1 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2826, allocations: 8.031 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2827, allocations: 106 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.2828, allocations: 76.22 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.283, allocations: 247.7 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.718e-05/0.283, allocations: 154.9 kB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.2831, allocations: 150.9 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.2832, allocations: 104.9 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/0.2832, allocations: 75.28 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/0.2833, allocations: 154.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.897e-05/0.2834, allocations: 158.6 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.999e-05/0.2835, allocations: 158.5 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.2838, allocations: 445.9 kB / 1.225 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.2839, allocations: 173.1 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.284, allocations: 80.14 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.284, allocations: 83.22 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.2841, allocations: 109.8 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2841, allocations: 0 / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.819e-05/0.2842, allocations: 29.64 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.2843, allocations: 130.7 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.2844, allocations: 101.8 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.2844, allocations: 25.7 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.2844, allocations: 80.14 kB / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.232e-06/0.2844, allocations: 0 / 1.226 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.2845, allocations: 13.72 kB / 1.226 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2846, allocations: 318.7 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-06/0.2846, allocations: 128 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.2846, allocations: 8.031 kB / 1.226 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.2847, allocations: 75.28 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-05/0.2847, allocations: 75.28 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.283e-05/0.2848, allocations: 37.58 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/0.2848, allocations: 79.28 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.2849, allocations: 75.28 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.335e-05/0.285, allocations: 162.5 kB / 1.226 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.846e-05/0.285, allocations: 83.22 kB / 1.226 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.02e-05/0.2851, allocations: 150.6 kB / 1.227 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.528e-05/0.2852, allocations: 79.22 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.2852, allocations: 83.27 kB / 1.227 GB, free: 7.297 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001331/0.2853, allocations: 256.9 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.2854, allocations: 112.9 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.016e-05/0.2855, allocations: 112 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-05/0.2856, allocations: 180.3 kB / 1.227 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-05/0.2856, allocations: 184.2 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/0.2857, allocations: 176.3 kB / 1.228 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.286, allocations: 405.2 kB / 1.228 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.416e-05/0.2861, allocations: 112.9 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.2861, allocations: 101 kB / 1.228 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.149e-05/0.2862, allocations: 180.2 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.765e-05/0.2863, allocations: 184.2 kB / 1.229 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.2864, allocations: 176.3 kB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.681e-05/0.2865, allocations: 188.2 kB / 1.229 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.2866, allocations: 299.8 kB / 1.229 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.225e-05/0.2867, allocations: 186 kB / 1.229 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.2868, allocations: 184.3 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.2869, allocations: 104.9 kB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.287, allocations: 180.3 kB / 1.23 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.402e-05/0.2871, allocations: 108.9 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.487e-05/0.2871, allocations: 79.28 kB / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2871, allocations: 0 / 1.23 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003291/0.2875, allocations: 47.73 kB / 1.23 GB, free: 3.594 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0008865/0.2883, allocations: 0.9513 MB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.598e-05/0.2884, allocations: 11.94 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2884, allocations: 0 / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.2884, allocations: 0 / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.2888, allocations: 456.6 kB / 1.232 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.29, allocations: 1.571 MB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.2903, allocations: 0.6729 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.914e-06/0.2903, allocations: 0 / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.2904, allocations: 11.44 kB / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.2904, allocations: 0 / 1.234 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02403/0.3144, allocations: 1.88 MB / 1.236 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.962, allocations: 17.36 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches