Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001908/0.001908, allocations: 80.3 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.002463/0.002463, allocations: 160 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.487/1.487, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.953/2.953, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.581e-05/3.714e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002614/0.002651, allocations: 1.284 MB / 0.9827 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003943, allocations: 0.8259 MB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.003969, allocations: 0 / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.004007, allocations: 4 kB / 0.9835 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.004235, allocations: 11.86 kB / 0.9835 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.00443, allocations: 55.86 kB / 0.9836 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.842e-05/0.004508, allocations: 23.86 kB / 0.9836 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.004551, allocations: 0 / 0.9836 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.004646, allocations: 19.97 kB / 0.9836 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.004728, allocations: 7.938 kB / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.004746, allocations: 0 / 0.9836 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.004787, allocations: 11.94 kB / 0.9836 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.004834, allocations: 7.969 kB / 0.9836 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.004862, allocations: 8 kB / 0.9836 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.871e-05/0.00496, allocations: 23.97 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.004964, allocations: 3.938 kB / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004964, allocations: 0 / 0.9837 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.004969, allocations: 0 / 0.9837 GB, free: 9.68 MB / 0.9356 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.000336/0.005305, allocations: 258.3 kB / 0.9839 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.005338, allocations: 8.031 kB / 0.9839 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/0.005406, allocations: 80.17 kB / 0.984 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005548, allocations: 185.1 kB / 0.9842 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.013e-05/0.005628, allocations: 150.9 kB / 0.9843 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.01e-05/0.005708, allocations: 154.9 kB / 0.9845 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.005803, allocations: 101.5 kB / 0.9846 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.005841, allocations: 79.47 kB / 0.9846 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.00592, allocations: 158.9 kB / 0.9848 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.211e-05/0.005992, allocations: 150.9 kB / 0.9849 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.006074, allocations: 158.5 kB / 0.9851 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.006422, allocations: 405.6 kB / 0.9855 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.006532, allocations: 165.1 kB / 0.9856 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.006587, allocations: 88.08 kB / 0.9857 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.006625, allocations: 75.28 kB / 0.9858 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.638e-05/0.006692, allocations: 105.8 kB / 0.9859 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.006693, allocations: 0 / 0.9859 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.473e-05/0.006777, allocations: 33.7 kB / 0.9859 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.006857, allocations: 130.7 kB / 0.986 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.006999, allocations: 109.8 kB / 0.9861 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.007018, allocations: 25.7 kB / 0.9862 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.007072, allocations: 80.14 kB / 0.9863 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-06/0.007074, allocations: 0 / 0.9863 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.007116, allocations: 25.66 kB / 0.9863 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.007292, allocations: 310.8 kB / 0.9866 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.007316, allocations: 8 kB / 0.9866 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.851e-05/0.007365, allocations: 37.62 kB / 0.9866 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.781e-05/0.007403, allocations: 16.95 kB / 0.9866 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.007405, allocations: 3.938 kB / 0.9866 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.007533, allocations: 45.69 kB / 0.9867 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.007548, allocations: 4 kB / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007553, allocations: 0 / 0.9867 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007567, allocations: 7.938 kB / 0.9867 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.007568, allocations: 0 / 0.9867 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.007574, allocations: 3.984 kB / 0.9867 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.184e-05/0.007666, allocations: 3.938 kB / 0.9867 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.007675, allocations: 0 / 0.9867 GB, free: 6.383 MB / 0.9356 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 0.0001259/0.007801, allocations: 197.1 kB / 0.9869 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.007889, allocations: 105 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.007942, allocations: 104.5 kB / 0.9871 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-05/0.00803, allocations: 184.3 kB / 0.9873 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.113e-05/0.008121, allocations: 192.3 kB / 0.9874 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.821e-05/0.0082, allocations: 180.2 kB / 0.9876 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.008438, allocations: 352.8 kB / 0.988 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/0.008488, allocations: 109 kB / 0.9881 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.00855, allocations: 108.9 kB / 0.9882 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.053e-05/0.008631, allocations: 176.3 kB / 0.9883 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.37e-05/0.008714, allocations: 184.2 kB / 0.9885 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.397e-05/0.008798, allocations: 180.3 kB / 0.9887 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.177e-05/0.00888, allocations: 176.3 kB / 0.9888 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.009051, allocations: 311.7 kB / 0.9891 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.00913, allocations: 113.1 kB / 0.9892 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/0.009226, allocations: 176.3 kB / 0.9894 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.009317, allocations: 113 kB / 0.9895 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.00941, allocations: 188.2 kB / 0.9897 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.009459, allocations: 105 kB / 0.9898 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.009523, allocations: 87.27 kB / 0.9899 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.009524, allocations: 0 / 0.9899 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002598/0.009783, allocations: 15.88 kB / 0.9899 GB, free: 2.914 MB / 0.9356 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.0003086/0.01009, allocations: 185.5 kB / 0.9901 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.01017, allocations: 11.94 kB / 0.9901 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01018, allocations: 4 kB / 0.9901 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.01018, allocations: 0 / 0.9901 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.01059, allocations: 453.9 kB / 0.9905 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.01087, allocations: 180.2 kB / 0.9907 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.01094, allocations: 63.28 kB / 0.9908 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.228e-05/0.01096, allocations: 7.938 kB / 0.9908 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.01098, allocations: 8.5 kB / 0.9908 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of SimCode: time 3.7e-07/0.01098, allocations: 0 / 0.9908 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.002867/0.01384, allocations: 451.1 kB / 0.9912 GB, free: 1.531 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.195520836859941]