Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001029/0.001029, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009857/0.0009857, allocations: 161 kB / 24.17 MB, free: 332 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 1.036/1.036, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.061/2.061, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.796e-05, allocations: 6.969 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002455/0.002483, allocations: 1.338 MB / 0.7614 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.003254, allocations: 0.8586 MB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.003281, allocations: 0.5625 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.003316, allocations: 0 / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.003518, allocations: 17.09 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.291e-05/0.00358, allocations: 8.5 kB / 0.7622 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.003638, allocations: 6.969 kB / 0.7623 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.003673, allocations: 0 / 0.7623 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.379e-05/0.003707, allocations: 8.969 kB / 0.7623 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.743e-05/0.003794, allocations: 10.06 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.003807, allocations: 1.156 kB / 0.7623 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.224e-05/0.00384, allocations: 4 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.003873, allocations: 0 / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.639e-05/0.00389, allocations: 6.812 kB / 0.7623 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.501e-05/0.003955, allocations: 15.92 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.083e-06/0.003957, allocations: 0 / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003958, allocations: 0.9844 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003961, allocations: 3.938 kB / 0.7623 GB, free: 4.336 MB / 0.7136 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.0001964/0.004158, allocations: 217.5 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.004187, allocations: 8.031 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.004227, allocations: 76.97 kB / 0.7626 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.004319, allocations: 181.1 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.038e-05/0.004359, allocations: 151.7 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.004398, allocations: 154.9 kB / 0.7631 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.567e-05/0.004444, allocations: 108.6 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.004464, allocations: 75.47 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.004497, allocations: 150.9 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.004537, allocations: 154.9 kB / 0.7635 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.804e-05/0.004575, allocations: 162.4 kB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.004717, allocations: 354.8 kB / 0.764 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.004775, allocations: 169.1 kB / 0.7642 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.004797, allocations: 80.14 kB / 0.7643 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.004816, allocations: 76.16 kB / 0.7643 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.004849, allocations: 119 kB / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.00485, allocations: 0 / 0.7644 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.892e-05/0.004899, allocations: 25.7 kB / 0.7645 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.004937, allocations: 127.9 kB / 0.7646 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.334e-05/0.005, allocations: 106.7 kB / 0.7647 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.005008, allocations: 25.7 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.005031, allocations: 87.39 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.21e-07/0.005032, allocations: 0.6562 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.005048, allocations: 9.719 kB / 0.7648 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.959e-05/0.005118, allocations: 314.8 kB / 0.7651 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.005121, allocations: 4 kB / 0.7651 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.00514, allocations: 28.53 kB / 0.7651 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.76e-05/0.005157, allocations: 75.28 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/0.005177, allocations: 80.2 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.641e-05/0.005213, allocations: 32.48 kB / 0.7653 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.005239, allocations: 83.27 kB / 0.7654 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.005259, allocations: 79.27 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.383e-05/0.005303, allocations: 166.5 kB / 0.7656 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.709e-05/0.00532, allocations: 75.28 kB / 0.7657 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.474e-05/0.005355, allocations: 154.5 kB / 0.7658 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.005431, allocations: 87.27 kB / 0.7659 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.005451, allocations: 75.28 kB / 0.766 GB, free: 388 kB / 0.7136 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 7.803e-05/0.005529, allocations: 277.2 kB / 0.7663 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.005576, allocations: 104.9 kB / 0.7664 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.005608, allocations: 104.1 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.005648, allocations: 184.9 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.899e-05/0.005687, allocations: 176.3 kB / 0.7668 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.13e-05/0.005728, allocations: 184.9 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.005846, allocations: 325.2 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.005868, allocations: 101 kB / 0.7674 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.005894, allocations: 108.9 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.855e-05/0.005933, allocations: 176.3 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.005971, allocations: 180.2 kB / 0.7678 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.876e-05/0.00601, allocations: 184.5 kB / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.679e-05/0.006046, allocations: 176.3 kB / 0.7682 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.872e-05/0.006135, allocations: 315.7 kB / 0.7685 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.006166, allocations: 120 kB / 0.7686 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.00621, allocations: 177.6 kB / 0.7688 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.006254, allocations: 105 kB / 0.7689 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.006293, allocations: 180.2 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.006315, allocations: 105 kB / 0.7691 GB, free: 13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.195e-05/0.006327, allocations: 8.859 kB / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006327, allocations: 0 / 0.7691 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000141/0.006468, allocations: 0 / 0.7691 GB, free: 12.99 MB / 0.7292 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.000162/0.00663, allocations: 169.5 kB / 0.7693 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.312e-05/0.006663, allocations: 8.938 kB / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.006665, allocations: 0 / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.006666, allocations: 0 / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.006853, allocations: 468.6 kB / 0.7698 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.007032, allocations: 171.2 kB / 0.7699 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.657e-05/0.007059, allocations: 55.36 kB / 0.77 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.007071, allocations: 0 / 0.77 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.007096, allocations: 47.38 kB / 0.77 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.007097, allocations: 2.594 kB / 0.77 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of Templates: time 0.001725/0.008822, allocations: 383 kB / 0.7704 GB, free: 11.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.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.277604289818555]