Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001201/0.001201, allocations: 108 kB / 16.41 MB, free: 6.027 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.001286/0.001286, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.3 MB / 0.6655 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 68.08 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8458/0.8473, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002188/0.8495, allocations: 1.244 MB / 1.09 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.8509, allocations: 1.009 MB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.8509, allocations: 0 / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.8509, allocations: 1.062 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.8514, allocations: 106.7 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.8514, allocations: 0 / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.057e-05/0.8514, allocations: 17.98 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.8515, allocations: 1.578 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.8515, allocations: 0.9062 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.372e-05/0.8516, allocations: 7.359 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.8516, allocations: 0 / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.8519, allocations: 117.7 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-06/0.8519, allocations: 5.078 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.261e-05/0.8519, allocations: 4 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.8521, allocations: 108.1 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8521, allocations: 0 / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.565e-06/0.8521, allocations: 5.031 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8522, allocations: 4 kB / 1.091 GB, free: 3.816 MB / 0.8575 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.0002502/0.8524, allocations: 339.9 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.8525, allocations: 9.75 kB / 1.092 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.8525, allocations: 76.22 kB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.8526, allocations: 242.4 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.8526, allocations: 156.9 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.8527, allocations: 154.9 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.009e-05/0.8527, allocations: 106.5 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.8527, allocations: 76.08 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.8527, allocations: 150.6 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.8528, allocations: 152 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.8528, allocations: 154.5 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.853, allocations: 453.5 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/0.853, allocations: 166.7 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.853, allocations: 80.14 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.8531, allocations: 76.44 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.8531, allocations: 123.5 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.8531, allocations: 0 / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.36e-05/0.8532, allocations: 27.39 kB / 1.094 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.8532, allocations: 127.4 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.8533, allocations: 94.48 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-06/0.8533, allocations: 25.7 kB / 1.094 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.8533, allocations: 81.67 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.8533, allocations: 4 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.8533, allocations: 11.78 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.8534, allocations: 316.7 kB / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-06/0.8534, allocations: 0 / 1.094 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/0.8535, allocations: 4 kB / 1.094 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.653e-05/0.8535, allocations: 77.19 kB / 1.094 GB, free: 16.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.8535, allocations: 75.28 kB / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.301e-05/0.8536, allocations: 36.64 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.8536, allocations: 84.81 kB / 1.095 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/0.8537, allocations: 76.44 kB / 1.095 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-05/0.8537, allocations: 160.3 kB / 1.095 GB, free: 16.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.181e-05/0.8537, allocations: 77.2 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.777e-05/0.8538, allocations: 159.6 kB / 1.095 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.209e-05/0.8539, allocations: 79.78 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.8539, allocations: 81.17 kB / 1.095 GB, free: 15.62 MB / 0.8731 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.0001108/0.854, allocations: 258.4 kB / 1.095 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.636e-05/0.8541, allocations: 111 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.8542, allocations: 110.6 kB / 1.096 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/0.8542, allocations: 185.9 kB / 1.096 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-05/0.8543, allocations: 182 kB / 1.096 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.486e-05/0.8544, allocations: 178.3 kB / 1.096 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.8546, allocations: 400.8 kB / 1.096 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.8546, allocations: 102.8 kB / 1.097 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.8546, allocations: 114.6 kB / 1.097 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.508e-05/0.8547, allocations: 182.5 kB / 1.097 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/0.8548, allocations: 184.7 kB / 1.097 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.245e-05/0.8549, allocations: 181.9 kB / 1.097 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/0.8549, allocations: 182.1 kB / 1.097 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.8551, allocations: 306.4 kB / 1.098 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.39e-05/0.8551, allocations: 192.2 kB / 1.098 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/0.8552, allocations: 182.1 kB / 1.098 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.8553, allocations: 102.9 kB / 1.098 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.8554, allocations: 184.8 kB / 1.098 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.8554, allocations: 102.7 kB / 1.098 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.8555, allocations: 82.64 kB / 1.098 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8555, allocations: 0 / 1.098 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003577/0.8558, allocations: 40.3 kB / 1.099 GB, free: 11.98 MB / 0.8731 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.0005453/0.8564, allocations: 315.8 kB / 1.099 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.569e-05/0.8564, allocations: 0.875 kB / 1.099 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8565, allocations: 7.875 kB / 1.099 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.8565, allocations: 0.6562 kB / 1.099 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.8568, allocations: 460.9 kB / 1.099 GB, free: 11.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.8571, allocations: 185.1 kB / 1.099 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.8573, allocations: 0.6716 MB / 1.1 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.8573, allocations: 7.438 kB / 1.1 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8573, allocations: 0.7188 kB / 1.1 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of Templates: time 0.003074/0.8604, allocations: 1.162 MB / 1.101 GB, free: 10.27 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches