Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001018/0.001018, allocations: 77.95 kB / 20.66 MB, free: 3.832 MB / 18.57 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.0009968/0.0009968, allocations: 165 kB / 24.05 MB, free: 452 kB / 18.57 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 0.9989/0.9989, allocations: 177.1 MB / 204.5 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.739e-05, allocations: 3.219 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002088/0.002115, allocations: 1.318 MB / 0.8807 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009276/0.003043, allocations: 0.8744 MB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.003082, allocations: 0.5 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.00313, allocations: 1.969 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.003401, allocations: 13.73 kB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.003563, allocations: 52.67 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.003649, allocations: 25.02 kB / 0.8817 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.003691, allocations: 1.344 kB / 0.8817 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.00376, allocations: 15.92 kB / 0.8817 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.003866, allocations: 7.984 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.003886, allocations: 1.375 kB / 0.8817 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.003932, allocations: 11.98 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.003982, allocations: 4 kB / 0.8817 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.004009, allocations: 4 kB / 0.8817 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.004112, allocations: 37.3 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004115, allocations: 0 / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.91e-07/0.004116, allocations: 3.938 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00412, allocations: 0 / 0.8817 GB, free: 3.656 MB / 0.8386 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.0002688/0.004389, allocations: 354 kB / 0.8821 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.004425, allocations: 8.031 kB / 0.8821 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.004481, allocations: 124.1 kB / 0.8822 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.004591, allocations: 235 kB / 0.8824 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/0.004652, allocations: 242.8 kB / 0.8827 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.004709, allocations: 238.8 kB / 0.8829 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.792e-05/0.004767, allocations: 145.5 kB / 0.883 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.004796, allocations: 127.4 kB / 0.8831 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.004849, allocations: 238.8 kB / 0.8834 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.625e-05/0.004905, allocations: 238.8 kB / 0.8836 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.41e-05/0.004969, allocations: 246.2 kB / 0.8838 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.005464, allocations: 0.5569 MB / 0.8844 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.128e-05/0.005545, allocations: 269.4 kB / 0.8846 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.005575, allocations: 126.9 kB / 0.8848 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.005602, allocations: 119.2 kB / 0.8849 GB, free: 336 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.005646, allocations: 164.5 kB / 0.885 GB, free: 160 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.005647, allocations: 0 / 0.885 GB, free: 160 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.411e-05/0.005702, allocations: 25.7 kB / 0.8851 GB, free: 128 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.005768, allocations: 170.6 kB / 0.8852 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.005865, allocations: 169.9 kB / 0.8854 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005876, allocations: 25.7 kB / 0.8854 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.005924, allocations: 130.9 kB / 0.8855 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.005926, allocations: 4 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.005958, allocations: 23.36 kB / 0.8856 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.006083, allocations: 0.4922 MB / 0.886 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.006098, allocations: 3.938 kB / 0.886 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.767e-05/0.006126, allocations: 33.69 kB / 0.8861 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.006157, allocations: 15.62 kB / 0.8861 GB, free: 15 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006159, allocations: 0 / 0.8861 GB, free: 15 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.199e-05/0.006251, allocations: 33.7 kB / 0.8861 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.006266, allocations: 6.344 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006272, allocations: 128 / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.006281, allocations: 4 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.006282, allocations: 4 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006285, allocations: 0 / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.006357, allocations: 11.88 kB / 0.8861 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.006365, allocations: 3.938 kB / 0.8861 GB, free: 14.93 MB / 0.8542 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.593e-05/0.006461, allocations: 275.8 kB / 0.8864 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.006508, allocations: 148.8 kB / 0.8865 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.006557, allocations: 152.4 kB / 0.8867 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/0.006618, allocations: 276 kB / 0.887 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/0.006679, allocations: 264.1 kB / 0.8872 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-05/0.006741, allocations: 272.1 kB / 0.8875 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.006926, allocations: 488.4 kB / 0.8879 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.00696, allocations: 148.9 kB / 0.8881 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.006993, allocations: 152.9 kB / 0.8882 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.638e-05/0.00705, allocations: 268.1 kB / 0.8885 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/0.007113, allocations: 268.1 kB / 0.8887 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.745e-05/0.00717, allocations: 268 kB / 0.889 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.758e-05/0.007228, allocations: 268.1 kB / 0.8892 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.00735, allocations: 447.9 kB / 0.8897 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.007403, allocations: 144.9 kB / 0.8898 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.007465, allocations: 276 kB / 0.8901 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.00752, allocations: 153.2 kB / 0.8902 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.007585, allocations: 272 kB / 0.8905 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.007618, allocations: 148.9 kB / 0.8906 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.007661, allocations: 127.4 kB / 0.8907 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007661, allocations: 0 / 0.8907 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001578/0.007819, allocations: 4 kB / 0.8907 GB, free: 10.03 MB / 0.8542 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.0002011/0.00802, allocations: 238.4 kB / 0.891 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.348e-05/0.008083, allocations: 15.56 kB / 0.891 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008085, allocations: 0 / 0.891 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.008087, allocations: 4 kB / 0.891 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.008644, allocations: 0.7061 MB / 0.8917 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.00888, allocations: 217.7 kB / 0.8919 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.231e-05/0.008912, allocations: 55.34 kB / 0.8919 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.008934, allocations: 0 / 0.8919 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.008978, allocations: 74.19 kB / 0.892 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.008979, allocations: 64 / 0.892 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of Templates: time 0.002134/0.01111, allocations: 0.5217 MB / 0.8925 GB, free: 8.18 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.413177279289812]