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.001692/0.001692, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001817/0.001817, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 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.183/2.183, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9898/0.9913, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002635/0.994, allocations: 1.239 MB / 1.09 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.9956, allocations: 1.012 MB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.236e-05/0.9957, allocations: 0.9375 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.9957, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.9962, allocations: 111 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.477e-06/0.9962, allocations: 1.125 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.9963, allocations: 5.609 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.016e-05/0.9963, allocations: 5.75 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.9963, allocations: 1.125 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.9964, allocations: 7.094 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.245e-06/0.9965, allocations: 0 / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.9967, allocations: 121.3 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.474e-06/0.9967, allocations: 1.906 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.9968, allocations: 11.98 kB / 1.091 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.997, allocations: 107.7 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.997, allocations: 0 / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.997, allocations: 0.75 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.9971, allocations: 0 / 1.091 GB, free: 3.789 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.0003192/0.9974, allocations: 339.8 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9974, allocations: 9.188 kB / 1.092 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.9975, allocations: 85.38 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.9976, allocations: 238.5 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.9976, allocations: 151.6 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.9977, allocations: 152 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.045e-05/0.9977, allocations: 109 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.9978, allocations: 77 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/0.9978, allocations: 154.6 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.9978, allocations: 151.5 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.154e-05/0.9979, allocations: 151.2 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.9981, allocations: 449.5 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.5e-05/0.9981, allocations: 174.9 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.9981, allocations: 84.14 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.9982, allocations: 75.8 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.9982, allocations: 115.7 kB / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.9982, allocations: 0 / 1.094 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.308e-05/0.9983, allocations: 31.53 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.9983, allocations: 131.2 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.9984, allocations: 94.91 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.9984, allocations: 25.7 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.953e-05/0.9984, allocations: 81.36 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.9985, allocations: 3.938 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.967e-05/0.9985, allocations: 15.59 kB / 1.094 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9986, allocations: 312 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-06/0.9986, allocations: 4.125 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.9986, allocations: 0.9375 kB / 1.094 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.9986, allocations: 75.89 kB / 1.094 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/0.9987, allocations: 76.81 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.549e-05/0.9987, allocations: 31.77 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.9988, allocations: 81.02 kB / 1.094 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.9988, allocations: 81.17 kB / 1.095 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.355e-05/0.9989, allocations: 155.7 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.3e-05/0.9989, allocations: 81.11 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/0.999, allocations: 160.4 kB / 1.095 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.999, allocations: 75.8 kB / 1.095 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.9991, allocations: 80.53 kB / 1.095 GB, free: 15.59 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.0001056/0.9992, allocations: 258.8 kB / 1.095 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.9992, allocations: 110.7 kB / 1.095 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.255e-05/0.9993, allocations: 110.4 kB / 1.096 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.684e-05/0.9994, allocations: 185.8 kB / 1.096 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.424e-05/0.9994, allocations: 178 kB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.174e-05/0.9995, allocations: 182.8 kB / 1.096 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.9997, allocations: 400.6 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/0.9998, allocations: 106.9 kB / 1.097 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.9998, allocations: 110.5 kB / 1.097 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-05/0.9999, allocations: 178 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.884e-05/1, allocations: 186.6 kB / 1.097 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.225e-05/1, allocations: 178.1 kB / 1.097 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-05/1, allocations: 192.8 kB / 1.097 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/1, allocations: 301.5 kB / 1.098 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/1, allocations: 192.1 kB / 1.098 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.227e-05/1, allocations: 178.1 kB / 1.098 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/1, allocations: 106.8 kB / 1.098 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/1.001, allocations: 186 kB / 1.098 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/1.001, allocations: 102.7 kB / 1.098 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.425e-05/1.001, allocations: 78.25 kB / 1.098 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.001, allocations: 0 / 1.098 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003354/1.001, allocations: 39.73 kB / 1.099 GB, free: 11.96 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.0005921/1.002, allocations: 329.1 kB / 1.099 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.827e-05/1.002, allocations: 1.609 kB / 1.099 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.002, allocations: 4.875 kB / 1.099 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/1.002, allocations: 0 / 1.099 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/1.002, allocations: 454.4 kB / 1.099 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/1.002, allocations: 191.1 kB / 1.099 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/1.002, allocations: 0.6715 MB / 1.1 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/1.003, allocations: 7.438 kB / 1.1 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of SimCode: time 8.71e-07/1.003, allocations: 0.8438 kB / 1.1 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.003641/1.006, allocations: 1.166 MB / 1.101 GB, free: 10.24 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