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.005156/0.005156, allocations: 102.2 kB / 15.73 MB, free: 5.992 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.001203/0.001204, allocations: 196 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 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 64.12 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3376, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.00294/0.3406, allocations: 1.245 MB / 1.208 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3424, allocations: 1 MB / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.3424, allocations: 0 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.3425, allocations: 0 / 1.209 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005548/0.3431, allocations: 115.5 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.078e-06/0.3431, allocations: 0 / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.881e-05/0.3432, allocations: 11.98 kB / 1.21 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.3432, allocations: 3.984 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.688e-05/0.3432, allocations: 0 / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3434, allocations: 4 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.793e-06/0.3434, allocations: 3.938 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.3437, allocations: 123.8 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.3437, allocations: 3.984 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.3437, allocations: 3.938 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.3439, allocations: 103.9 kB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.344, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.532e-06/0.344, allocations: 0 / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.344, allocations: 4 kB / 1.21 GB, free: 7.496 MB / 0.9669 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.0003804/0.3444, allocations: 347.8 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3444, allocations: 8.625 kB / 1.21 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.3445, allocations: 110 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.3445, allocations: 76.22 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3447, allocations: 247.5 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.636e-05/0.3448, allocations: 162.9 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.3449, allocations: 154.9 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.007e-05/0.345, allocations: 104.9 kB / 1.211 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.345, allocations: 75.28 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.532e-05/0.345, allocations: 150.6 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-05/0.3451, allocations: 150.6 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.599e-05/0.3452, allocations: 162.6 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.3455, allocations: 445.9 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.3456, allocations: 173.1 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.3456, allocations: 80.14 kB / 1.212 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.3457, allocations: 83.22 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.3457, allocations: 105.8 kB / 1.212 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3457, allocations: 4 kB / 1.212 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.536e-05/0.3458, allocations: 29.64 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.3459, allocations: 126.7 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.835e-05/0.346, allocations: 97.84 kB / 1.213 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.346, allocations: 29.83 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.092e-05/0.3461, allocations: 84.14 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.3461, allocations: 0 / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.3461, allocations: 13.66 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3462, allocations: 314.8 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.3462, allocations: 0 / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.761e-06/0.3462, allocations: 4.031 kB / 1.213 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/0.3463, allocations: 75.28 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-05/0.3463, allocations: 83.28 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.204e-05/0.3464, allocations: 33.64 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.3464, allocations: 83.22 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.3465, allocations: 79.27 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.749e-05/0.3466, allocations: 154.6 kB / 1.214 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.71e-05/0.3466, allocations: 83.22 kB / 1.214 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.989e-05/0.3466, allocations: 150.6 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.775e-05/0.3467, allocations: 83.22 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.3468, allocations: 75.28 kB / 1.214 GB, free: 3.098 MB / 0.9669 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.0001209/0.3469, allocations: 260.4 kB / 1.214 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.347, allocations: 108.9 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.347, allocations: 112 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.491e-05/0.3471, allocations: 180.3 kB / 1.215 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.608e-05/0.3472, allocations: 188.2 kB / 1.215 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-05/0.3473, allocations: 176.3 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.3475, allocations: 405.2 kB / 1.215 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/0.3476, allocations: 112.9 kB / 1.215 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.3476, allocations: 101 kB / 1.215 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.3477, allocations: 188.2 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.3478, allocations: 176.3 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.367e-05/0.3478, allocations: 180.3 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.3479, allocations: 180.2 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.3481, allocations: 311.8 kB / 1.216 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3481, allocations: 182 kB / 1.217 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.183e-05/0.3482, allocations: 176.3 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.3483, allocations: 112.9 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.637e-05/0.3484, allocations: 176.3 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3484, allocations: 108.9 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.3485, allocations: 83.28 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3485, allocations: 0 / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003586/0.3489, allocations: 47.92 kB / 1.217 GB, free: 15.39 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.0008451/0.3497, allocations: 0.943 MB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.439e-05/0.3498, allocations: 7.938 kB / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3498, allocations: 0 / 1.218 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.3498, allocations: 4 kB / 1.218 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3502, allocations: 451.7 kB / 1.219 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.3514, allocations: 1.567 MB / 1.22 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.3516, allocations: 0.6767 MB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.374e-05/0.3517, allocations: 7.938 kB / 1.221 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.3517, allocations: 7.438 kB / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.3517, allocations: 0 / 1.221 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.3751, allocations: 1.877 MB / 1.223 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.96, allocations: 18.53 kB / 1.223 GB, free: 9.902 MB / 0.9825 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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