Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009957/0.009957, allocations: 101.6 kB / 15.73 MB, free: 6.449 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.001859/0.00186, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4262, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002146/0.4284, allocations: 1.247 MB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4298, allocations: 1 MB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.4298, allocations: 3.938 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.4299, allocations: 0 / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.4303, allocations: 107.6 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.4303, allocations: 0 / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.635e-05/0.4304, allocations: 15.92 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.4304, allocations: 0 / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.4305, allocations: 3.938 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.274e-05/0.4306, allocations: 7.984 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.311e-06/0.4306, allocations: 0 / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.4308, allocations: 127.8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-06/0.4308, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.261e-05/0.4308, allocations: 0 / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.431, allocations: 111.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.431, allocations: 4 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4311, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.4311, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 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.0003305/0.4314, allocations: 351.1 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4314, allocations: 12.03 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.4315, allocations: 76.22 kB / 1.17 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.4317, allocations: 243.6 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-05/0.4317, allocations: 162.9 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.4318, allocations: 150.9 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.805e-05/0.4319, allocations: 109.1 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/0.4319, allocations: 75.28 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.4319, allocations: 150.6 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-05/0.432, allocations: 150.6 kB / 1.171 GB, free: 2.625 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.432, allocations: 154.6 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.4323, allocations: 449.9 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.4324, allocations: 169.1 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.4325, allocations: 80.14 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.4325, allocations: 83.27 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.4326, allocations: 109.8 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4326, allocations: 0 / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001029/0.4327, allocations: 33.64 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.4327, allocations: 130.7 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.4328, allocations: 93.84 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4329, allocations: 33.83 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.008e-05/0.4329, allocations: 80.14 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-06/0.4329, allocations: 0 / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.4329, allocations: 9.719 kB / 1.172 GB, free: 1.109 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4331, allocations: 310.8 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-06/0.4331, allocations: 4 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.727e-06/0.4331, allocations: 48 / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.4331, allocations: 79.28 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-05/0.4331, allocations: 83.28 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.341e-05/0.4332, allocations: 33.58 kB / 1.172 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.4333, allocations: 83.28 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/0.4333, allocations: 79.27 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.561e-05/0.4334, allocations: 150.6 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.514e-05/0.4334, allocations: 79.34 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.585e-05/0.4334, allocations: 162.5 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.4335, allocations: 83.22 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.4336, allocations: 79.28 kB / 1.173 GB, free: 15.89 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 0.0001061/0.4337, allocations: 256.4 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.4338, allocations: 112.9 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.4338, allocations: 108 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-05/0.4339, allocations: 184.2 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-05/0.434, allocations: 180.2 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.098e-05/0.434, allocations: 184.3 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.4343, allocations: 405.2 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001351/0.4344, allocations: 101 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.515e-05/0.4345, allocations: 108.9 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/0.4346, allocations: 192.2 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.4348, allocations: 180.3 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.581e-05/0.4349, allocations: 180.2 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/0.4349, allocations: 180.3 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.4351, allocations: 307.8 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.4352, allocations: 186 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.4352, allocations: 180.2 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.296e-05/0.4353, allocations: 101 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.4354, allocations: 180.3 kB / 1.176 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.4355, allocations: 108.9 kB / 1.176 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.4355, allocations: 83.28 kB / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4355, allocations: 0 / 1.176 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004162/0.4359, allocations: 39.8 kB / 1.177 GB, free: 12.18 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.0004982/0.4364, allocations: 317.1 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.944e-05/0.4365, allocations: 4 kB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4365, allocations: 0 / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.4365, allocations: 8 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4368, allocations: 459.6 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002282/0.4371, allocations: 160.7 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.4373, allocations: 0.6729 MB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.465e-06/0.4373, allocations: 0 / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.4373, allocations: 15.44 kB / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.4373, allocations: 0 / 1.178 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.00334/0.4407, allocations: 0.9833 MB / 1.179 GB, free: 9.562 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches