Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_10_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.008445/0.008445, allocations: 99.89 kB / 15.73 MB, free: 6.012 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.002573/0.002573, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.193/2.193, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.025/3.025, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 59.91 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9817, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002229/0.9839, allocations: 1.249 MB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.9855, allocations: 1.01 MB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.9855, allocations: 0 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.9856, allocations: 0 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.986, allocations: 107.6 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.986, allocations: 4 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.864e-05/0.9861, allocations: 7.938 kB / 1.168 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.9861, allocations: 7.922 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.9861, allocations: 0 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.9862, allocations: 7.984 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.9862, allocations: 0 / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.9865, allocations: 119.8 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-06/0.9865, allocations: 0 / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.9865, allocations: 7.938 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.9867, allocations: 107.5 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.9867, allocations: 0 / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9867, allocations: 4 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.9867, allocations: 3.938 kB / 1.169 GB, free: 1.137 MB / 0.8887 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.0003723/0.9871, allocations: 351.1 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.9872, allocations: 8.922 kB / 1.169 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.9872, allocations: 110 kB / 1.169 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.211e-05/0.9873, allocations: 76.22 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.9875, allocations: 243.7 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.9876, allocations: 154.9 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.9877, allocations: 150.9 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.152e-05/0.9878, allocations: 104.9 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.9878, allocations: 75.28 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.9879, allocations: 150.6 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/0.9879, allocations: 154.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.32e-05/0.988, allocations: 158.6 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.9884, allocations: 445.9 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.743e-05/0.9885, allocations: 165.1 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.9885, allocations: 88.14 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.9886, allocations: 83.22 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.9886, allocations: 113.8 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.9886, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.19e-05/0.9887, allocations: 25.7 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/0.9888, allocations: 126.7 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.9889, allocations: 97.94 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.9889, allocations: 29.73 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.989, allocations: 84.14 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.989, allocations: 0 / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.989, allocations: 9.719 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.9892, allocations: 318.8 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-06/0.9892, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.9892, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.9892, allocations: 79.22 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.17e-05/0.9893, allocations: 83.22 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.088e-05/0.9893, allocations: 33.64 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.377e-05/0.9894, allocations: 79.28 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.9894, allocations: 79.27 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.771e-05/0.9895, allocations: 158.5 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.24e-05/0.9896, allocations: 83.28 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-05/0.9896, allocations: 154.5 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.156e-05/0.9897, allocations: 79.28 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.9898, allocations: 75.28 kB / 1.173 GB, free: 12.75 MB / 0.9044 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.0001432/0.9899, allocations: 260.4 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.99, allocations: 113 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.9901, allocations: 112.1 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-05/0.9901, allocations: 188.2 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.278e-05/0.9902, allocations: 176.3 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.158e-05/0.9903, allocations: 176.3 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.9906, allocations: 409.2 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.9906, allocations: 104.9 kB / 1.174 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.266e-05/0.9907, allocations: 104.9 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.9908, allocations: 180.3 kB / 1.174 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.809e-05/0.9909, allocations: 184.2 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.123e-05/0.991, allocations: 180.2 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.485e-05/0.9911, allocations: 184.2 kB / 1.175 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.9912, allocations: 311.8 kB / 1.175 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.9913, allocations: 186 kB / 1.175 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.941e-05/0.9914, allocations: 176.3 kB / 1.176 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.9915, allocations: 109 kB / 1.176 GB, free: 9.449 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.9916, allocations: 180.2 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.827e-05/0.9917, allocations: 109 kB / 1.176 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.209e-05/0.9917, allocations: 79.28 kB / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9917, allocations: 0 / 1.176 GB, free: 9.074 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000343/0.9921, allocations: 47.73 kB / 1.176 GB, free: 9.027 MB / 0.9044 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.0009743/0.9931, allocations: 0.953 MB / 1.177 GB, free: 8.086 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 4.265e-05/0.9931, allocations: 4 kB / 1.177 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9931, allocations: 0 / 1.177 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.9931, allocations: 0 / 1.177 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.9935, allocations: 454.7 kB / 1.178 GB, free: 7.637 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.9948, allocations: 1.571 MB / 1.179 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.9952, allocations: 0.6729 MB / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.416e-06/0.9952, allocations: 0 / 1.18 GB, free: 5.289 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.9952, allocations: 7.438 kB / 1.18 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9952, allocations: 4 kB / 1.18 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/1.024, allocations: 1.882 MB / 1.182 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.57, allocations: 15.72 kB / 1.182 GB, free: 3.539 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches