Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,fileNamePrefix="Buildings_latest_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.007883/0.007882, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001949/0.001949, allocations: 201.7 kB / 16.68 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.666/2.666, allocations: 469.4 MB / 0.7422 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2528, allocations: 159.1 MB / 1.22 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002051/0.2549, allocations: 1.245 MB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2562, allocations: 0.9978 MB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.2563, allocations: 3.938 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.349e-05/0.2563, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.2567, allocations: 107.6 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.999e-06/0.2567, allocations: 4 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.622e-05/0.2568, allocations: 11.92 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.2568, allocations: 4 kB / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.195e-05/0.2568, allocations: 0 / 1.222 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.2569, allocations: 7.984 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.611e-06/0.2569, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.2572, allocations: 123.8 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.999e-06/0.2572, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.2572, allocations: 3.938 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.2574, allocations: 103.7 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2574, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2574, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2574, allocations: 0 / 1.222 GB, free: 12.02 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.0002968/0.2577, allocations: 351.1 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2577, allocations: 12.03 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.06e-05/0.2578, allocations: 106 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.2579, allocations: 84.14 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.258, allocations: 243.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.258, allocations: 154.9 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.2581, allocations: 158.9 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.526e-05/0.2581, allocations: 108.9 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.2582, allocations: 75.28 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.2582, allocations: 150.6 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.361e-05/0.2583, allocations: 150.6 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.839e-05/0.2583, allocations: 162.5 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002347/0.2586, allocations: 449.9 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.2586, allocations: 165.1 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.2587, allocations: 80.14 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2587, allocations: 79.22 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.2587, allocations: 113.8 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2587, allocations: 0 / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.378e-05/0.2588, allocations: 33.64 kB / 1.225 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.2589, allocations: 126.7 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.259, allocations: 97.84 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.259, allocations: 25.7 kB / 1.225 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.259, allocations: 84.27 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.152e-06/0.259, allocations: 0 / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.259, allocations: 9.719 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2592, allocations: 314.8 kB / 1.225 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-06/0.2592, allocations: 7.938 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-06/0.2592, allocations: 4.031 kB / 1.225 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.2592, allocations: 75.28 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.2592, allocations: 75.28 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.36e-05/0.2593, allocations: 41.56 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.2594, allocations: 83.28 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.2594, allocations: 75.28 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.651e-05/0.2595, allocations: 154.5 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/0.2595, allocations: 79.28 kB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.049e-05/0.2596, allocations: 150.6 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.615e-05/0.2597, allocations: 87.22 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2597, allocations: 79.22 kB / 1.226 GB, free: 7.613 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.0001427/0.2599, allocations: 264.4 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.26, allocations: 108.9 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.26, allocations: 104.1 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-05/0.2601, allocations: 176.3 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.822e-05/0.2602, allocations: 196.2 kB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/0.2602, allocations: 180.2 kB / 1.227 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.2605, allocations: 397.2 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.325e-05/0.2605, allocations: 108.9 kB / 1.228 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.2606, allocations: 101 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.018e-05/0.2606, allocations: 192.2 kB / 1.228 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/0.2607, allocations: 176.3 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.182e-05/0.2608, allocations: 184.2 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.978e-05/0.2608, allocations: 176.3 kB / 1.229 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.261, allocations: 311.8 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.67e-05/0.2611, allocations: 182 kB / 1.229 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.604e-05/0.2612, allocations: 184.2 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.991e-05/0.2613, allocations: 105 kB / 1.229 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.2614, allocations: 184.2 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.2614, allocations: 105 kB / 1.23 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.468e-05/0.2615, allocations: 83.28 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2615, allocations: 0 / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003638/0.2619, allocations: 43.73 kB / 1.23 GB, free: 3.906 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.0008621/0.2627, allocations: 0.9474 MB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.2e-05/0.2628, allocations: 12 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.2628, allocations: 0 / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.2628, allocations: 0 / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.2631, allocations: 463.6 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.2642, allocations: 1.563 MB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.2644, allocations: 0.6806 MB / 1.233 GB, free: 156 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.995e-06/0.2644, allocations: 0 / 1.233 GB, free: 156 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.2645, allocations: 7.438 kB / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.2645, allocations: 0 / 1.233 GB, free: 148 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.2835, allocations: 1.893 MB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.505, allocations: 14.17 kB / 1.235 GB, free: 14.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches