Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.002315/0.002315, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002895/0.002895, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 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 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.382/3.382, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.182e-05, allocations: 3.281 kB / 0.8775 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002626/0.002658, allocations: 1.285 MB / 0.8787 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003899, allocations: 0.8254 MB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.85e-05/0.003928, allocations: 0 / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.922e-05/0.003977, allocations: 0.875 kB / 0.8795 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.00422, allocations: 16.95 kB / 0.8795 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.204e-05/0.004293, allocations: 5.344 kB / 0.8795 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.00435, allocations: 12.75 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.004383, allocations: 0.7656 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.00442, allocations: 4.328 kB / 0.8796 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.004534, allocations: 8.656 kB / 0.8796 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.004548, allocations: 0 / 0.8796 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.004589, allocations: 8.641 kB / 0.8796 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.004637, allocations: 3.984 kB / 0.8796 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.004658, allocations: 5.594 kB / 0.8796 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.297e-05/0.004741, allocations: 4 kB / 0.8796 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.004747, allocations: 3.984 kB / 0.8796 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004748, allocations: 3.938 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004752, allocations: 2.031 kB / 0.8796 GB, free: 4.52 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.0004111/0.005163, allocations: 344.4 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.005198, allocations: 8.031 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.867e-05/0.005297, allocations: 124.1 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.005493, allocations: 231.8 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.005621, allocations: 245.2 kB / 0.8805 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.005744, allocations: 242.7 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.005855, allocations: 157.5 kB / 0.8809 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-05/0.005917, allocations: 119.4 kB / 0.881 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.006047, allocations: 238.8 kB / 0.8812 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.006165, allocations: 238.8 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.006289, allocations: 247 kB / 0.8817 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.006701, allocations: 0.5681 MB / 0.8822 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.006877, allocations: 271.1 kB / 0.8825 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.00696, allocations: 126.9 kB / 0.8826 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-05/0.007025, allocations: 119.2 kB / 0.8827 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.165e-05/0.007116, allocations: 156.5 kB / 0.8829 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.933e-06/0.007118, allocations: 1.344 kB / 0.8829 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.157e-05/0.00721, allocations: 29.7 kB / 0.8829 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.007322, allocations: 174.6 kB / 0.8831 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.007474, allocations: 161.9 kB / 0.8832 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.007495, allocations: 25.7 kB / 0.8833 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.007568, allocations: 126.9 kB / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.00757, allocations: 0 / 0.8834 GB, free: 464 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.007608, allocations: 23.36 kB / 0.8834 GB, free: 432 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002844/0.007892, allocations: 496.1 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-06/0.007898, allocations: 0 / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.007932, allocations: 25.7 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.47e-05/0.007997, allocations: 123.2 kB / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.233e-05/0.008059, allocations: 123.1 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.657e-05/0.008116, allocations: 25.7 kB / 0.8842 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/0.008191, allocations: 131.3 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.239e-05/0.008253, allocations: 119.2 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001425/0.008395, allocations: 246.3 kB / 0.8846 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.008461, allocations: 123.2 kB / 0.8847 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002577/0.008718, allocations: 242.3 kB / 0.885 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/0.008887, allocations: 123.1 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.008951, allocations: 127.2 kB / 0.8852 GB, free: 14.53 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 (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.0002286/0.00918, allocations: 391 kB / 0.8856 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.009281, allocations: 152.8 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.009382, allocations: 152 kB / 0.8859 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001508/0.009533, allocations: 272 kB / 0.8861 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001609/0.009694, allocations: 276 kB / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001598/0.009854, allocations: 268 kB / 0.8867 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.01021, allocations: 0.4921 MB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.231e-05/0.01029, allocations: 148.9 kB / 0.8873 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.01037, allocations: 148.8 kB / 0.8874 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.01051, allocations: 272.1 kB / 0.8877 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.01065, allocations: 264.1 kB / 0.8879 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001526/0.0108, allocations: 272.3 kB / 0.8882 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001441/0.01095, allocations: 268.1 kB / 0.8885 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01122, allocations: 451.9 kB / 0.8889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.01131, allocations: 156.8 kB / 0.889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.01146, allocations: 268.1 kB / 0.8893 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.01158, allocations: 144.9 kB / 0.8894 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.01174, allocations: 272 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.861e-05/0.01182, allocations: 148.9 kB / 0.8898 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.055e-05/0.0119, allocations: 127.2 kB / 0.8899 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.0119, allocations: 0 / 0.8899 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002538/0.01215, allocations: 7.938 kB / 0.89 GB, free: 9.473 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.0003675/0.01252, allocations: 235.5 kB / 0.8902 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.13e-05/0.01258, allocations: 3.938 kB / 0.8902 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01258, allocations: 0 / 0.8902 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.01259, allocations: 0 / 0.8902 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.01317, allocations: 0.7023 MB / 0.8909 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.01354, allocations: 213.7 kB / 0.8911 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.963e-05/0.01361, allocations: 59.22 kB / 0.8911 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.01363, allocations: 0 / 0.8911 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.01366, allocations: 16.5 kB / 0.8911 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01367, allocations: 0 / 0.8911 GB, free: 8.191 MB / 0.8542 GB Notification: Performance of Templates: time 0.003061/0.01673, allocations: 360.8 kB / 0.8915 GB, free: 7.883 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.434351618983783]