Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 213.8 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.804/2.804, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|alt",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 64.34 kB / 1.118 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3097, allocations: 169.9 MB / 1.284 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002427/0.3122, allocations: 1.277 MB / 1.285 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.3139, allocations: 1.085 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3139, allocations: 0 / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.3139, allocations: 0 / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004456/0.3144, allocations: 115.6 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 2.946e-06/0.3144, allocations: 0 / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.094e-05/0.3144, allocations: 3.938 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3144, allocations: 8 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.3144, allocations: 0 / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.3145, allocations: 3.984 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.3145, allocations: 0 / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3147, allocations: 103.9 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.352e-06/0.3147, allocations: 7.938 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.3147, allocations: 7.922 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3149, allocations: 95.77 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3149, allocations: 4 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3149, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3149, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 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.0003373/0.3153, allocations: 282 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.3153, allocations: 8.031 kB / 1.287 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.3154, allocations: 76.22 kB / 1.287 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.3155, allocations: 189.8 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.3156, allocations: 150.9 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.3157, allocations: 154.9 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.3158, allocations: 105.1 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.3158, allocations: 79.28 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.298e-05/0.3159, allocations: 150.6 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.366e-05/0.3159, allocations: 150.6 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.323e-05/0.316, allocations: 154.6 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.3163, allocations: 401.5 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.3164, allocations: 173.2 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.834e-05/0.3164, allocations: 84.14 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.3165, allocations: 75.28 kB / 1.289 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/0.3165, allocations: 105.8 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3165, allocations: 0 / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.873e-05/0.3166, allocations: 37.53 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.3167, allocations: 130.7 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3168, allocations: 97.86 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3168, allocations: 29.7 kB / 1.289 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.3168, allocations: 80.14 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3168, allocations: 0 / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.3169, allocations: 13.7 kB / 1.289 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.317, allocations: 310.8 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.317, allocations: 4 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.317, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.3171, allocations: 75.28 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-05/0.3171, allocations: 79.28 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.814e-05/0.3171, allocations: 37.64 kB / 1.29 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.116e-05/0.3172, allocations: 87.34 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.184e-05/0.3172, allocations: 79.22 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.245e-05/0.3173, allocations: 154.6 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.789e-05/0.3174, allocations: 83.2 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.511e-05/0.3174, allocations: 150.6 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.3175, allocations: 83.16 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.3175, allocations: 79.28 kB / 1.29 GB, free: 5.262 MB / 0.9825 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.0001417/0.3177, allocations: 260.4 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.197e-05/0.3178, allocations: 109.1 kB / 1.291 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.3178, allocations: 116.1 kB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-05/0.3179, allocations: 180.3 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.152e-05/0.318, allocations: 184.2 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.432e-05/0.3181, allocations: 176.3 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3183, allocations: 364.8 kB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/0.3184, allocations: 101 kB / 1.292 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.3184, allocations: 101 kB / 1.292 GB, free: 3.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-05/0.3185, allocations: 184.2 kB / 1.292 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/0.3186, allocations: 184.2 kB / 1.292 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-05/0.3187, allocations: 184.2 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.04e-05/0.3188, allocations: 184.2 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.3189, allocations: 299.8 kB / 1.293 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.319, allocations: 109 kB / 1.293 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3191, allocations: 192.1 kB / 1.293 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.3192, allocations: 101 kB / 1.293 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.3193, allocations: 176.3 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.3193, allocations: 108.9 kB / 1.293 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.3194, allocations: 79.28 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3194, allocations: 0 / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003325/0.3197, allocations: 39.8 kB / 1.293 GB, free: 1.719 MB / 0.9825 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.0006054/0.3203, allocations: 329.6 kB / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 3.549e-05/0.3204, allocations: 0 / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3204, allocations: 0 / 1.294 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-06/0.3204, allocations: 4 kB / 1.294 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.3208, allocations: 467.6 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.321, allocations: 186.6 kB / 1.294 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.3211, allocations: 55.36 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.3211, allocations: 7.438 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3211, allocations: 0 / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of Templates: time 0.002887/0.324, allocations: 1.161 MB / 1.296 GB, free: 15.51 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.852599579375237]