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.0009485/0.0009485, allocations: 80.8 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.0009638/0.0009638, 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 0.9909/0.9909, allocations: 177.2 MB / 204.6 MB, free: 5.477 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 1.915/1.915, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.803e-06/1.803e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.562e-05, allocations: 2.312 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002849/0.002875, allocations: 1.302 MB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.004051, allocations: 0.8517 MB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.004083, allocations: 0 / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.567e-05/0.004129, allocations: 0 / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.004403, allocations: 21.33 kB / 0.7622 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.497e-05/0.004488, allocations: 5.438 kB / 0.7622 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.095e-05/0.004549, allocations: 5.312 kB / 0.7622 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.004596, allocations: 7.984 kB / 0.7622 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.953e-05/0.004635, allocations: 5.609 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.004747, allocations: 4.984 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004762, allocations: 0.9688 kB / 0.7622 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.004807, allocations: 8.547 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.00485, allocations: 2.094 kB / 0.7622 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.004872, allocations: 4 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/0.004958, allocations: 20.34 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.004961, allocations: 1.781 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.004963, allocations: 0 / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.004967, allocations: 0 / 0.7622 GB, free: 4.43 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.0002559/0.005223, allocations: 213.6 kB / 0.7624 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.005259, allocations: 8.031 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.005309, allocations: 81.19 kB / 0.7625 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.005425, allocations: 181.1 kB / 0.7627 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.315e-05/0.005478, allocations: 153 kB / 0.7628 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.357e-05/0.005532, allocations: 154.9 kB / 0.763 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.15e-05/0.005593, allocations: 105.5 kB / 0.7631 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.005618, allocations: 76.45 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.005659, allocations: 150.9 kB / 0.7633 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.005707, allocations: 158.9 kB / 0.7634 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.005756, allocations: 159.2 kB / 0.7636 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.005961, allocations: 349.3 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.006046, allocations: 181.7 kB / 0.7641 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.006073, allocations: 82.33 kB / 0.7642 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.006094, allocations: 75.28 kB / 0.7642 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.006137, allocations: 113.8 kB / 0.7644 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.006139, allocations: 0.875 kB / 0.7644 GB, free: 2.141 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.556e-05/0.006204, allocations: 25.7 kB / 0.7644 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.006263, allocations: 126.7 kB / 0.7645 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.006345, allocations: 104.3 kB / 0.7646 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.006357, allocations: 25.7 kB / 0.7646 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.006387, allocations: 84.14 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.41e-07/0.006388, allocations: 1.25 kB / 0.7647 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.006455, allocations: 9.719 kB / 0.7647 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.006542, allocations: 315.7 kB / 0.765 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.006548, allocations: 4.938 kB / 0.765 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.006591, allocations: 28.53 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/0.006614, allocations: 83.2 kB / 0.7651 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.066e-05/0.006635, allocations: 80.31 kB / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.69e-05/0.006681, allocations: 33.69 kB / 0.7652 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.006709, allocations: 79.28 kB / 0.7653 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.006728, allocations: 75.97 kB / 0.7654 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.411e-05/0.006772, allocations: 165.7 kB / 0.7655 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.929e-05/0.006791, allocations: 75.28 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/0.006825, allocations: 154.5 kB / 0.7658 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.006918, allocations: 79.28 kB / 0.7658 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.006934, allocations: 75.28 kB / 0.7659 GB, free: 492 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 8.871e-05/0.007022, allocations: 275.1 kB / 0.7662 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.00706, allocations: 112.7 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.007111, allocations: 104.1 kB / 0.7664 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-05/0.007151, allocations: 184.2 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-05/0.007191, allocations: 180.3 kB / 0.7667 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.036e-05/0.007231, allocations: 180.2 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.007415, allocations: 321.3 kB / 0.7672 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/0.007441, allocations: 105 kB / 0.7673 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.007464, allocations: 104.9 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.214e-05/0.007506, allocations: 185.4 kB / 0.7676 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.007549, allocations: 184.9 kB / 0.7678 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.305e-05/0.007592, allocations: 176.6 kB / 0.7679 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-05/0.007633, allocations: 177.2 kB / 0.7681 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.007735, allocations: 319.7 kB / 0.7684 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.00777, allocations: 109.9 kB / 0.7685 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.00782, allocations: 180.3 kB / 0.7687 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.893e-05/0.007869, allocations: 106 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.007917, allocations: 184.9 kB / 0.769 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.00794, allocations: 101 kB / 0.7691 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.138e-05/0.007961, allocations: 12.8 kB / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007961, allocations: 0 / 0.7691 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001482/0.008109, allocations: 0 / 0.7691 GB, free: 13.08 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.0002264/0.008336, allocations: 163.7 kB / 0.7692 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.078e-05/0.008376, allocations: 7.938 kB / 0.7692 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.00838, allocations: 1.312 kB / 0.7692 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.008381, allocations: 2.625 kB / 0.7692 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.008579, allocations: 467.6 kB / 0.7697 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.008798, allocations: 171.2 kB / 0.7698 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.008828, allocations: 55.36 kB / 0.7699 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.008844, allocations: 0 / 0.7699 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.307e-05/0.008877, allocations: 55.34 kB / 0.7699 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/0.008878, allocations: 0.6875 kB / 0.7699 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of Templates: time 0.001821/0.0107, allocations: 378.5 kB / 0.7703 GB, free: 11.8 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 -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.034690645057708]