Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001916/0.001916, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001519/0.001519, allocations: 215.3 kB / 22.25 MB, free: 5.262 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.327/3.327, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002151/0.002151, allocations: 67.53 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3836, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.003079/0.3867, allocations: 1.259 MB / 1.327 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3887, allocations: 1.099 MB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.3887, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.3887, allocations: 4 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.3893, allocations: 107.5 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 5.08e-06/0.3893, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.448e-05/0.3894, allocations: 0 / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3894, allocations: 8 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.663e-05/0.3894, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.3895, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.614e-06/0.3895, allocations: 0 / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.3897, allocations: 107.8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3897, allocations: 7.984 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.3898, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.39, allocations: 99.72 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.39, allocations: 4 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.913e-06/0.39, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.39, allocations: 0 / 1.328 GB, free: 15.14 MB / 1.029 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.0004051/0.3904, allocations: 282 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.3905, allocations: 8.031 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.382e-05/0.3905, allocations: 76.22 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.3907, allocations: 185.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.327e-05/0.3908, allocations: 150.9 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.336e-05/0.3908, allocations: 150.9 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.3909, allocations: 113.1 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.391, allocations: 79.28 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.769e-05/0.3911, allocations: 154.5 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-05/0.3911, allocations: 154.5 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.44e-05/0.3912, allocations: 154.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.3915, allocations: 393.6 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3917, allocations: 165.1 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.3917, allocations: 88.14 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.3918, allocations: 79.22 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.3918, allocations: 105.8 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3918, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.439e-05/0.3919, allocations: 29.64 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.035e-05/0.392, allocations: 134.7 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3921, allocations: 89.86 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.3921, allocations: 33.64 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.3922, allocations: 84.14 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3922, allocations: 0 / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.3922, allocations: 9.719 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3924, allocations: 310.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-06/0.3924, allocations: 4 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.3924, allocations: 8.062 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.498e-05/0.3924, allocations: 79.22 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.605e-05/0.3924, allocations: 75.28 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.046e-05/0.3925, allocations: 33.69 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.3925, allocations: 83.22 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.3926, allocations: 75.28 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.549e-05/0.3927, allocations: 158.5 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.3927, allocations: 79.41 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.254e-05/0.3928, allocations: 158.5 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.733e-05/0.3929, allocations: 75.28 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.3929, allocations: 79.28 kB / 1.332 GB, free: 11.1 MB / 1.029 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.0001537/0.3931, allocations: 264.9 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-05/0.3931, allocations: 112.9 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.371e-05/0.3932, allocations: 108.1 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-05/0.3933, allocations: 184.2 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-05/0.3934, allocations: 180.3 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-05/0.3935, allocations: 180.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3937, allocations: 356.8 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/0.3937, allocations: 105 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.49e-05/0.3938, allocations: 104.9 kB / 1.333 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.467e-05/0.3939, allocations: 184.2 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.987e-05/0.394, allocations: 188.2 kB / 1.334 GB, free: 9.051 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.263e-05/0.394, allocations: 180.2 kB / 1.334 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.667e-05/0.3941, allocations: 180.3 kB / 1.334 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3943, allocations: 307.8 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3943, allocations: 104.9 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-05/0.3944, allocations: 184.2 kB / 1.335 GB, free: 8.062 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.738e-05/0.3945, allocations: 105 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.3e-05/0.3946, allocations: 188.2 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/0.3947, allocations: 105 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.3947, allocations: 75.28 kB / 1.335 GB, free: 7.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3947, allocations: 4.094 kB / 1.335 GB, free: 7.574 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003456/0.3951, allocations: 47.73 kB / 1.335 GB, free: 7.527 MB / 1.029 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.0006387/0.3957, allocations: 321.6 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.73e-05/0.3958, allocations: 3.938 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3958, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.3958, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.3962, allocations: 456.9 kB / 1.336 GB, free: 6.793 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.3965, allocations: 160.9 kB / 1.336 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.839e-05/0.3965, allocations: 63.34 kB / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.934e-06/0.3965, allocations: 0 / 1.336 GB, free: 6.527 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.3965, allocations: 7.438 kB / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3965, allocations: 0 / 1.336 GB, free: 6.52 MB / 1.029 GB Notification: Performance of Templates: time 0.003835/0.4004, allocations: 0.9909 MB / 1.337 GB, free: 5.543 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetAltitudeTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.526054184883833]