Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.001093/0.001093, 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.001156/0.001156, allocations: 161 kB / 24.16 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.056/1.056, allocations: 177.2 MB / 204.6 MB, free: 5.129 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.039/2.039, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.7601 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.725e-05, allocations: 4.984 kB / 0.7601 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.003067/0.003094, allocations: 1.566 MB / 0.7616 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004951/0.003589, allocations: 192.6 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.003636, allocations: 1.25 kB / 0.7618 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.003671, allocations: 7.922 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.003923, allocations: 20.61 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.004115, allocations: 55.84 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.00424, allocations: 62.23 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.004331, allocations: 19.92 kB / 0.7619 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.004428, allocations: 31.81 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.429e-05/0.004512, allocations: 21.17 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004535, allocations: 8 kB / 0.762 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.323e-05/0.004549, allocations: 4 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.004577, allocations: 15.17 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.004615, allocations: 17.73 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.721e-05/0.004702, allocations: 41.25 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.004705, allocations: 4.594 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.004706, allocations: 0 / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.00471, allocations: 0.6875 kB / 0.7621 GB, free: 4.578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003407/0.005051, allocations: 253.6 kB / 0.7623 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.005084, allocations: 12.03 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.005114, allocations: 9.688 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.598e-05/0.00519, allocations: 109.7 kB / 0.7625 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005202, allocations: 9.734 kB / 0.7625 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.005212, allocations: 4.375 kB / 0.7625 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.005336, allocations: 132.9 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.005342, allocations: 192 / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.005351, allocations: 0.875 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.005356, allocations: 5.594 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.005379, allocations: 15.86 kB / 0.7626 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.005637, allocations: 168.2 kB / 0.7628 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.599e-05/0.005703, allocations: 35.61 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.005718, allocations: 8.859 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.005724, allocations: 0.9375 kB / 0.7628 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.855e-05/0.005813, allocations: 63.41 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.005814, allocations: 0.7812 kB / 0.7629 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.000105/0.005919, allocations: 53.62 kB / 0.7629 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.005965, allocations: 109.6 kB / 0.763 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.00602, allocations: 115 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.006036, allocations: 29.7 kB / 0.7632 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/0.006065, allocations: 84.14 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.006085, allocations: 15.83 kB / 0.7633 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.006119, allocations: 25.7 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.006195, allocations: 318.8 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.006208, allocations: 7.125 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.6e-05/0.006254, allocations: 81.97 kB / 0.7637 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.006293, allocations: 36.97 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.006295, allocations: 0 / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.656e-05/0.006361, allocations: 49.62 kB / 0.7638 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.006374, allocations: 8 kB / 0.7638 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.00638, allocations: 3.938 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.00639, allocations: 0 / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.006453, allocations: 17.36 kB / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.006455, allocations: 0 / 0.7638 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.006506, allocations: 5.719 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006512, allocations: 0.6562 kB / 0.7638 GB, free: 2.621 MB / 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: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.663e-05/0.006578, allocations: 115.9 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.00659, allocations: 7.984 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.33e-05/0.006613, allocations: 15.73 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006615, allocations: 4 kB / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006617, allocations: 0 / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.00662, allocations: 0 / 0.7639 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.567e-05/0.006696, allocations: 80.27 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006698, allocations: 0 / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.006711, allocations: 4 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.006713, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.006717, allocations: 0 / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.006719, allocations: 3.938 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.006721, allocations: 3.938 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.875e-05/0.00679, allocations: 79.3 kB / 0.7641 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.006812, allocations: 4 kB / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.006826, allocations: 0 / 0.7641 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.006862, allocations: 7.984 kB / 0.7641 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.578e-05/0.006888, allocations: 7.922 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.006894, allocations: 9.594 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.434e-05/0.006909, allocations: 12.86 kB / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006909, allocations: 0 / 0.7641 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001024/0.007011, allocations: 12 kB / 0.7642 GB, free: 2.223 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 8.897e-05/0.0071, allocations: 82.78 kB / 0.7642 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.007177, allocations: 36.78 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.007179, allocations: 0 / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.007204, allocations: 16.84 kB / 0.7643 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.732e-05/0.007272, allocations: 4 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.007625, allocations: 146.8 kB / 0.7644 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.007653, allocations: 55.36 kB / 0.7645 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.007684, allocations: 11.98 kB / 0.7645 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.007762, allocations: 67.34 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.007762, allocations: 0 / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of Templates: time 0.00286/0.01062, allocations: 1.06 MB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.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.195267864037305]