Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 102.2 kB / 16.27 MB, free: 5.965 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.001788/0.001789, allocations: 191.4 kB / 17.2 MB, free: 5.59 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.541/1.541, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.758/2.758, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.84 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 159.1 MB / 1.065 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002532/0.3456, allocations: 1.233 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3473, allocations: 1.008 MB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.3473, allocations: 4 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.3473, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.3478, allocations: 107.6 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.3478, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.798e-05/0.3479, allocations: 3.938 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.3479, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.3479, allocations: 4 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.348, allocations: 5.703 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-06/0.3481, allocations: 0 / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.3483, allocations: 115.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-06/0.3483, allocations: 7.938 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.3483, allocations: 4 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.3485, allocations: 95.89 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3485, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3485, allocations: 3.938 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.3486, allocations: 0 / 1.067 GB, free: 12.16 MB / 0.8419 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.0003647/0.3489, allocations: 347.6 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.349, allocations: 8.625 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.349, allocations: 84.16 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3492, allocations: 239.7 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.3493, allocations: 150.9 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.3494, allocations: 154.9 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.489e-05/0.3495, allocations: 105.1 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3495, allocations: 75.28 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/0.3496, allocations: 158.6 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-05/0.3496, allocations: 154.6 kB / 1.069 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.594e-05/0.3497, allocations: 158.5 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.3501, allocations: 441.9 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3502, allocations: 169.2 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.3502, allocations: 92.14 kB / 1.069 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.512e-05/0.3503, allocations: 75.28 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.543e-05/0.3503, allocations: 109.8 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.3503, allocations: 0 / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.3504, allocations: 29.64 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.3505, allocations: 134.6 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3506, allocations: 101.9 kB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3506, allocations: 25.7 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.3507, allocations: 80.14 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.3507, allocations: 3.984 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3507, allocations: 13.72 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3509, allocations: 310.8 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.689e-06/0.3509, allocations: 0 / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-06/0.3509, allocations: 4.125 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.3509, allocations: 75.28 kB / 1.07 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.351, allocations: 75.28 kB / 1.07 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.57e-05/0.351, allocations: 41.56 kB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.3511, allocations: 79.28 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/0.3511, allocations: 75.28 kB / 1.071 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.473e-05/0.3512, allocations: 162.5 kB / 1.071 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.672e-05/0.3513, allocations: 79.28 kB / 1.071 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.914e-05/0.3513, allocations: 150.7 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.3514, allocations: 83.23 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.135e-05/0.3515, allocations: 79.28 kB / 1.071 GB, free: 7.879 MB / 0.8419 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.0001342/0.3516, allocations: 262.9 kB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.302e-05/0.3517, allocations: 112.9 kB / 1.071 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.32e-05/0.3517, allocations: 112.1 kB / 1.072 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/0.3518, allocations: 176.3 kB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.521e-05/0.3519, allocations: 184.2 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.351e-05/0.352, allocations: 180.2 kB / 1.072 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.3523, allocations: 409.2 kB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.933e-05/0.3523, allocations: 105 kB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3524, allocations: 108.9 kB / 1.073 GB, free: 6.148 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.93e-05/0.3524, allocations: 184.2 kB / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.3525, allocations: 176.3 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.215e-05/0.3526, allocations: 180.2 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.729e-05/0.3527, allocations: 180.3 kB / 1.073 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.3529, allocations: 311.7 kB / 1.074 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.353, allocations: 182 kB / 1.074 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.3531, allocations: 188.2 kB / 1.074 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.3532, allocations: 108.9 kB / 1.074 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.3532, allocations: 188.1 kB / 1.074 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.3533, allocations: 101 kB / 1.074 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.3534, allocations: 79.28 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3534, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003564/0.3537, allocations: 43.98 kB / 1.075 GB, free: 4.16 MB / 0.8419 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.0006051/0.3543, allocations: 315.5 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 4.613e-05/0.3544, allocations: 4 kB / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3544, allocations: 0 / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.506e-06/0.3544, allocations: 3.938 kB / 1.075 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3548, allocations: 459.7 kB / 1.075 GB, free: 3.418 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.3551, allocations: 190.5 kB / 1.075 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3554, allocations: 0.6807 MB / 1.076 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.3554, allocations: 7.438 kB / 1.076 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of SimCode: time 2.585e-06/0.3555, allocations: 0 / 1.076 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of Templates: time 0.003292/0.3588, allocations: 1.166 MB / 1.077 GB, free: 1.328 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches