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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001231/0.001231, allocations: 108 kB / 15.61 MB, free: 152 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.001232/0.001232, allocations: 196.6 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.218/1.218, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.432/2.432, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63.7 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2326, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002063/0.2347, allocations: 1.252 MB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2359, allocations: 1.005 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.2359, allocations: 4 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.2359, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.2363, allocations: 111.5 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.186e-06/0.2363, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 2.668e-05/0.2363, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.453e-05/0.2364, allocations: 3.984 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.2364, allocations: 4 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.2365, allocations: 8 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.701e-06/0.2365, allocations: 0 / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2367, allocations: 103.9 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.2367, allocations: 3.938 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.235e-05/0.2367, allocations: 11.98 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.2369, allocations: 107.8 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2369, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.825e-06/0.2369, allocations: 4 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2369, allocations: 0 / 1.066 GB, free: 11.88 MB / 0.8262 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.0002554/0.2372, allocations: 339.5 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2372, allocations: 19.97 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.2372, allocations: 106 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.2373, allocations: 76.22 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.2374, allocations: 243.9 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.2375, allocations: 150.9 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.2375, allocations: 150.9 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.713e-05/0.2376, allocations: 116.9 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.2376, allocations: 75.28 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2376, allocations: 150.6 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.854e-05/0.2377, allocations: 150.6 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.2377, allocations: 150.6 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.2379, allocations: 449.9 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.238, allocations: 173.1 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.238, allocations: 80.19 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.2381, allocations: 83.22 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.2381, allocations: 113.8 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2381, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 5.592e-05/0.2382, allocations: 29.7 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.2382, allocations: 126.7 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.2383, allocations: 101.7 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.2383, allocations: 29.7 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.2383, allocations: 80.14 kB / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-06/0.2383, allocations: 0 / 1.069 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.929e-05/0.2384, allocations: 17.84 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.765e-05/0.2384, allocations: 310.8 kB / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-06/0.2384, allocations: 0 / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.2384, allocations: 0 / 1.069 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.2385, allocations: 79.28 kB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.2385, allocations: 75.28 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.687e-05/0.2385, allocations: 29.64 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.2386, allocations: 83.28 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.2386, allocations: 87.2 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.3e-05/0.2387, allocations: 150.6 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.204e-05/0.2387, allocations: 75.28 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.614e-05/0.2387, allocations: 158.6 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.2388, allocations: 83.3 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2388, allocations: 79.22 kB / 1.07 GB, free: 7.496 MB / 0.8262 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 8.364e-05/0.2389, allocations: 264.9 kB / 1.07 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.239, allocations: 120.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.239, allocations: 108 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.611e-05/0.2391, allocations: 180.3 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-05/0.2391, allocations: 176.3 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/0.2392, allocations: 192.1 kB / 1.071 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2393, allocations: 397.2 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.154e-05/0.2394, allocations: 112.9 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.2394, allocations: 109 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.54e-05/0.2395, allocations: 180.2 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.2395, allocations: 188.2 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.633e-05/0.2396, allocations: 176.3 kB / 1.072 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-05/0.2396, allocations: 184.2 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.724e-05/0.2397, allocations: 299.8 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.2398, allocations: 190 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.2398, allocations: 180.3 kB / 1.073 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.2399, allocations: 104.9 kB / 1.073 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.24, allocations: 184.3 kB / 1.073 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.24, allocations: 108.9 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.834e-05/0.24, allocations: 75.28 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.24, allocations: 3.938 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003225/0.2404, allocations: 40.08 kB / 1.074 GB, free: 3.777 MB / 0.8262 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.0005895/0.2409, allocations: 0.943 MB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.717e-05/0.241, allocations: 0 / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.241, allocations: 4 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-06/0.241, allocations: 3.938 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.2413, allocations: 462 kB / 1.075 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/0.2422, allocations: 1.552 MB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.2424, allocations: 0.673 MB / 1.077 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.504e-06/0.2424, allocations: 7.938 kB / 1.077 GB, free: 44 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2424, allocations: 9.312 kB / 1.077 GB, free: 36 kB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2424, allocations: 0 / 1.077 GB, free: 36 kB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.2602, allocations: 1.856 MB / 1.079 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.434/6.694, allocations: 7.578 kB / 1.079 GB, free: 14.31 MB / 0.8419 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