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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|alt",fileNamePrefix="Buildings_latest_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_latest_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.0009091/0.0009093, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001059/0.001059, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005084, allocations: 8.938 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4113, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001516/0.4129, allocations: 0.9616 MB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4144, allocations: 0.9374 MB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.392e-05/0.4145, allocations: 0 / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.4145, allocations: 3.938 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004261/0.4149, allocations: 83.8 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-06/0.4149, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.02e-05/0.415, allocations: 7.938 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.415, allocations: 4 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.4151, allocations: 0 / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.4152, allocations: 11.92 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.4152, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.4154, allocations: 103.8 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.357e-06/0.4154, allocations: 0 / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.4155, allocations: 29.7 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.4156, allocations: 67.92 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4156, allocations: 4 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4156, allocations: 0 / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.4156, allocations: 0 / 1.06 GB, free: 3.055 MB / 0.8106 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.000331/0.416, allocations: 351.2 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.416, allocations: 12.03 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.4161, allocations: 75.28 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.4163, allocations: 238.3 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.4163, allocations: 154.6 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.129e-05/0.4164, allocations: 154.5 kB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.4165, allocations: 109 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.4165, allocations: 75.28 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/0.4166, allocations: 154.6 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.4166, allocations: 154.5 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.4167, allocations: 154.6 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.417, allocations: 441.9 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.112e-05/0.4171, allocations: 173.1 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.4171, allocations: 80.14 kB / 1.062 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.4171, allocations: 83.23 kB / 1.062 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.4172, allocations: 105.8 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4172, allocations: 3.938 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.164e-05/0.4173, allocations: 33.62 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.4174, allocations: 130.7 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4175, allocations: 93.86 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.4175, allocations: 29.83 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.4175, allocations: 84.14 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-06/0.4175, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.4175, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4177, allocations: 310.8 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.717e-06/0.4177, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-06/0.4177, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.4177, allocations: 75.28 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.4178, allocations: 75.28 kB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.835e-05/0.4178, allocations: 41.62 kB / 1.063 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.4179, allocations: 83.23 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.4179, allocations: 79.22 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.945e-05/0.418, allocations: 158.6 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.486e-05/0.418, allocations: 79.22 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.164e-05/0.4181, allocations: 150.6 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.01e-05/0.4182, allocations: 87.2 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.4182, allocations: 79.28 kB / 1.064 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.4183, allocations: 260.7 kB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.4184, allocations: 113 kB / 1.064 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4185, allocations: 112.1 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.449e-05/0.4185, allocations: 176.3 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.972e-05/0.4186, allocations: 184.2 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-05/0.4187, allocations: 180.2 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4189, allocations: 409.2 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.419, allocations: 101 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.419, allocations: 105 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-05/0.4191, allocations: 184.2 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.4192, allocations: 180.3 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.218e-05/0.4193, allocations: 184.2 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-05/0.4194, allocations: 180.3 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4196, allocations: 307.8 kB / 1.067 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.79e-05/0.4197, allocations: 182.1 kB / 1.067 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.4198, allocations: 184.2 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4199, allocations: 105 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.42, allocations: 184.2 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.42, allocations: 104.9 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.4201, allocations: 83.28 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4201, allocations: 0 / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003748/0.4205, allocations: 47.92 kB / 1.068 GB, free: 11.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005583/0.421, allocations: 320.1 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.239e-05/0.4211, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4211, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4211, allocations: 0 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4215, allocations: 0.5285 MB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.4217, allocations: 155.9 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.422, allocations: 0.677 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.398e-06/0.422, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.422, allocations: 11.44 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.422, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of Templates: time 0.003351/0.4254, allocations: 0.9628 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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