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.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.001973/0.001973, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002364/0.002364, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.024/3.024, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.99e-05, allocations: 2.281 kB / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002514/0.002544, allocations: 1.276 MB / 1.001 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.00434, allocations: 1.087 MB / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.004368, allocations: 0 / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.00439, allocations: 0 / 1.002 GB, free: 4.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.00494, allocations: 115.4 kB / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.004943, allocations: 0 / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.901e-05/0.004982, allocations: 0 / 1.003 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.005023, allocations: 4 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.143e-05/0.005045, allocations: 0 / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.988e-05/0.005105, allocations: 7.922 kB / 1.003 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.105e-06/0.005113, allocations: 4 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.005344, allocations: 107.8 kB / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-06/0.00535, allocations: 0 / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.21e-05/0.005362, allocations: 0 / 1.003 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.005608, allocations: 119.7 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.005611, allocations: 0 / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005612, allocations: 3.938 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.00562, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 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.0003832/0.006004, allocations: 270 kB / 1.003 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.00604, allocations: 8.031 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.006103, allocations: 84.16 kB / 1.003 GB, free: 4.172 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.006261, allocations: 189.1 kB / 1.003 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.006328, allocations: 150.9 kB / 1.003 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.006398, allocations: 150.9 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.194e-05/0.006469, allocations: 105.5 kB / 1.004 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.006507, allocations: 79.47 kB / 1.004 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.006574, allocations: 154.7 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.006638, allocations: 154.5 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.006704, allocations: 154.5 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.006996, allocations: 401.6 kB / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.007098, allocations: 165.1 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.007144, allocations: 92.14 kB / 1.005 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.007182, allocations: 75.28 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.007237, allocations: 113.8 kB / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.007238, allocations: 0 / 1.005 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.007314, allocations: 33.69 kB / 1.005 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.007385, allocations: 134.6 kB / 1.005 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.007489, allocations: 93.86 kB / 1.005 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.007503, allocations: 25.7 kB / 1.005 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.007542, allocations: 80.14 kB / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-06/0.007543, allocations: 0 / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.097e-05/0.007564, allocations: 13.84 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.007706, allocations: 314.8 kB / 1.006 GB, free: 1.402 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.622e-06/0.007713, allocations: 4 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.007716, allocations: 0 / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.007749, allocations: 75.28 kB / 1.006 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.959e-05/0.007789, allocations: 79.27 kB / 1.006 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.365e-05/0.007853, allocations: 37.59 kB / 1.006 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.007897, allocations: 79.28 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/0.007935, allocations: 75.28 kB / 1.006 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.808e-05/0.008013, allocations: 158.5 kB / 1.006 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.008051, allocations: 83.27 kB / 1.006 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.426e-05/0.008115, allocations: 154.6 kB / 1.006 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.008194, allocations: 83.22 kB / 1.006 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.008231, allocations: 83.27 kB / 1.007 GB, free: 0.4961 MB / 0.9512 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.0001399/0.008371, allocations: 256.9 kB / 1.007 GB, free: 240 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.008442, allocations: 112.9 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.965e-05/0.008502, allocations: 104.1 kB / 1.007 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.008621, allocations: 180.2 kB / 1.007 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.4e-05/0.008705, allocations: 188.2 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-05/0.008784, allocations: 180.3 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.009016, allocations: 352.8 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/0.009059, allocations: 105 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.009113, allocations: 108.9 kB / 1.008 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.547e-05/0.009189, allocations: 180.3 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.009275, allocations: 180.3 kB / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-05/0.009356, allocations: 180.2 kB / 1.009 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-05/0.009438, allocations: 180.3 kB / 1.009 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.009607, allocations: 315.7 kB / 1.009 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.009665, allocations: 108.9 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.009757, allocations: 184.2 kB / 1.009 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/0.009846, allocations: 101 kB / 1.009 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.009948, allocations: 188.1 kB / 1.01 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.009994, allocations: 109 kB / 1.01 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.791e-05/0.01004, allocations: 75.28 kB / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.01004, allocations: 0 / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003556/0.0104, allocations: 43.8 kB / 1.01 GB, free: 12.95 MB / 0.9669 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.0006785/0.01108, allocations: 324.9 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 4.68e-05/0.01112, allocations: 4 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01112, allocations: 4 kB / 1.01 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.447e-06/0.01113, allocations: 11.94 kB / 1.01 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.01161, allocations: 451.7 kB / 1.011 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.0119, allocations: 164.1 kB / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.956e-05/0.01196, allocations: 55.36 kB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.694e-06/0.01197, allocations: 0 / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.01199, allocations: 8.5 kB / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.01199, allocations: 0 / 1.011 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.004163/0.01615, allocations: 1.019 MB / 1.012 GB, free: 10.92 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.44967444613576]