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: 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.001245/0.001245, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001165/0.001165, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.336/2.336, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 72.11 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6287, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.001862/0.6306, allocations: 1.231 MB / 1.21 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.6319, allocations: 1.012 MB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.6319, allocations: 4 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.6319, allocations: 0 / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.6323, allocations: 107.6 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.6323, allocations: 3.938 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.421e-05/0.6323, allocations: 3.938 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.6324, allocations: 4 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.232e-05/0.6324, allocations: 0 / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.6325, allocations: 8 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.423e-06/0.6325, allocations: 0 / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.6327, allocations: 123.8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.117e-06/0.6327, allocations: 4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.2e-05/0.6327, allocations: 7.938 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.6329, allocations: 99.83 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.6329, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6329, allocations: 0 / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6329, allocations: 4 kB / 1.211 GB, free: 10.98 MB / 0.9356 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.0002853/0.6332, allocations: 351.5 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.6333, allocations: 8.031 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.6333, allocations: 80.22 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.6334, allocations: 243.6 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.729e-05/0.6335, allocations: 150.9 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.6335, allocations: 154.9 kB / 1.212 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.779e-05/0.6336, allocations: 109.1 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.6336, allocations: 75.28 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.6337, allocations: 154.6 kB / 1.212 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.6337, allocations: 154.6 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.6338, allocations: 154.5 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002345/0.634, allocations: 442 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.707e-05/0.6341, allocations: 169.1 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/0.6341, allocations: 84.14 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.6342, allocations: 75.28 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.6342, allocations: 113.8 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 7.72e-07/0.6342, allocations: 0 / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 5.95e-05/0.6343, allocations: 29.64 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.6343, allocations: 126.7 kB / 1.214 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.6344, allocations: 101.9 kB / 1.214 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.6344, allocations: 25.7 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.6345, allocations: 80.14 kB / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.6345, allocations: 0 / 1.214 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.6345, allocations: 13.72 kB / 1.214 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.6346, allocations: 314.8 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-06/0.6346, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.6346, allocations: 128 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.6346, allocations: 79.28 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.647e-05/0.6347, allocations: 75.28 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.164e-05/0.6347, allocations: 45.48 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.6348, allocations: 81.47 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.6348, allocations: 79.28 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/0.6348, allocations: 154.6 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.107e-05/0.6349, allocations: 83.16 kB / 1.215 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.915e-05/0.6349, allocations: 154.6 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.39e-05/0.635, allocations: 83.2 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.635, allocations: 83.22 kB / 1.215 GB, free: 6.707 MB / 0.9356 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 8.977e-05/0.6351, allocations: 260.4 kB / 1.215 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.6352, allocations: 109 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.6352, allocations: 116.1 kB / 1.215 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/0.6353, allocations: 180.2 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/0.6353, allocations: 180.2 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.333e-05/0.6354, allocations: 180.3 kB / 1.216 GB, free: 5.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.6356, allocations: 401.2 kB / 1.216 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/0.6356, allocations: 113 kB / 1.216 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.6357, allocations: 104.9 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.444e-05/0.6357, allocations: 188.2 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.6358, allocations: 180.3 kB / 1.217 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.252e-05/0.6358, allocations: 180.2 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.366e-05/0.6359, allocations: 184.2 kB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.636, allocations: 307.8 kB / 1.217 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.6361, allocations: 182 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.6361, allocations: 188.2 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.6362, allocations: 101 kB / 1.218 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.6363, allocations: 180.3 kB / 1.218 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.6363, allocations: 108.9 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.6364, allocations: 79.28 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6364, allocations: 0 / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003232/0.6367, allocations: 39.64 kB / 1.218 GB, free: 3 MB / 0.9356 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.0004221/0.6371, allocations: 318.2 kB / 1.219 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.158e-05/0.6372, allocations: 8 kB / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6372, allocations: 0 / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-06/0.6372, allocations: 0 / 1.219 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.6375, allocations: 459.6 kB / 1.219 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.6377, allocations: 194.3 kB / 1.219 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.6379, allocations: 0.6729 MB / 1.22 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-06/0.6379, allocations: 7.438 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.6379, allocations: 0 / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.002342/0.6403, allocations: 1.164 MB / 1.221 GB, free: 172 kB / 0.9356 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/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