Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_9_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.005462/0.005462, allocations: 98.92 kB / 15.73 MB, free: 6.039 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.001328/0.001328, allocations: 193.9 kB / 16.67 MB, free: 5.957 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.104/2.104, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6693/0.6706, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001804/0.6724, allocations: 1.243 MB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.6736, allocations: 1.004 MB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.6736, allocations: 1.312 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.6737, allocations: 1.562 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.6741, allocations: 114.7 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.6741, allocations: 0 / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.325e-05/0.6741, allocations: 6.062 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.6742, allocations: 2.344 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.6742, allocations: 5 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/0.6743, allocations: 7.172 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.801e-06/0.6743, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.6745, allocations: 126 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-06/0.6745, allocations: 0 / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.6745, allocations: 0.9688 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.6747, allocations: 111.5 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6747, allocations: 0.7969 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6747, allocations: 0 / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.6747, allocations: 1.062 kB / 1.09 GB, free: 3.551 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002228/0.675, allocations: 349.7 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.675, allocations: 9.75 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.142e-05/0.675, allocations: 106 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.6751, allocations: 77.98 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.304e-05/0.6752, allocations: 242.8 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.6752, allocations: 150.9 kB / 1.091 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.6752, allocations: 156.2 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.838e-05/0.6752, allocations: 105.4 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6753, allocations: 79.22 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.6753, allocations: 152.4 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6753, allocations: 154.6 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.865e-05/0.6753, allocations: 159.5 kB / 1.092 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.6755, allocations: 445.5 kB / 1.092 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.921e-05/0.6755, allocations: 170.4 kB / 1.092 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.6755, allocations: 84.94 kB / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.6756, allocations: 79.22 kB / 1.092 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.6756, allocations: 115.2 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6756, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 6.233e-05/0.6757, allocations: 27.83 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.6758, allocations: 128.8 kB / 1.093 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.6758, allocations: 102.1 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.6759, allocations: 26.31 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.6759, allocations: 80.14 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.6759, allocations: 0 / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.719e-05/0.6759, allocations: 12.2 kB / 1.093 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.676, allocations: 311.6 kB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-06/0.676, allocations: 1.281 kB / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-06/0.676, allocations: 128 / 1.093 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.228e-05/0.6761, allocations: 79.28 kB / 1.093 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/0.6761, allocations: 81 kB / 1.093 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.828e-05/0.6761, allocations: 32.23 kB / 1.093 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.6762, allocations: 80.25 kB / 1.093 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.6762, allocations: 77.3 kB / 1.094 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-05/0.6763, allocations: 164.6 kB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.027e-05/0.6763, allocations: 76.41 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-05/0.6763, allocations: 159.2 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.573e-05/0.6764, allocations: 77.22 kB / 1.094 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.6764, allocations: 76.41 kB / 1.094 GB, free: 15.24 MB / 0.8731 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 9.303e-05/0.6765, allocations: 259.1 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.6766, allocations: 111.1 kB / 1.094 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.6767, allocations: 119.1 kB / 1.095 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.861e-05/0.6768, allocations: 180.8 kB / 1.095 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-05/0.6768, allocations: 182.3 kB / 1.095 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-05/0.6769, allocations: 176.8 kB / 1.095 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6771, allocations: 407.2 kB / 1.095 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/0.6771, allocations: 109.6 kB / 1.096 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.6771, allocations: 106.7 kB / 1.096 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.055e-05/0.6772, allocations: 177.4 kB / 1.096 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6773, allocations: 178.6 kB / 1.096 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/0.6773, allocations: 181.6 kB / 1.096 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.353e-05/0.6774, allocations: 185.9 kB / 1.096 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.6775, allocations: 313 kB / 1.097 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.6776, allocations: 183.8 kB / 1.097 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.6776, allocations: 187.7 kB / 1.097 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.6777, allocations: 101.8 kB / 1.097 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.6778, allocations: 186.3 kB / 1.097 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6778, allocations: 103 kB / 1.097 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.6778, allocations: 78.33 kB / 1.097 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6779, allocations: 0 / 1.097 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003117/0.6782, allocations: 43.22 kB / 1.097 GB, free: 11.59 MB / 0.8731 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.0006663/0.6788, allocations: 0.9473 MB / 1.098 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.418e-05/0.6789, allocations: 1.641 kB / 1.098 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6789, allocations: 0 / 1.098 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.6789, allocations: 0 / 1.098 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.6792, allocations: 460 kB / 1.099 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009936/0.6802, allocations: 1.556 MB / 1.1 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.6804, allocations: 0.6748 MB / 1.101 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.318e-06/0.6805, allocations: 1.453 kB / 1.101 GB, free: 7.992 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/0.6805, allocations: 8.531 kB / 1.101 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.6805, allocations: 0 / 1.101 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.6981, allocations: 1.883 MB / 1.103 GB, free: 7.551 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.995/7.693, allocations: 5.344 kB / 1.103 GB, free: 7.547 MB / 0.8731 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches