Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001021/0.001021, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001016/0.001016, allocations: 170.6 kB / 24.87 MB, free: 9.207 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 0.9804/0.9804, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.952/1.952, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.528e-05, allocations: 3 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001757/0.001772, allocations: 1.523 MB / 0.7898 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.002079, allocations: 183.3 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.509e-05/0.002114, allocations: 4 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.002136, allocations: 7.156 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.002315, allocations: 23.78 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.002445, allocations: 55.8 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.002525, allocations: 67.81 kB / 0.7901 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.002596, allocations: 8 kB / 0.7901 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.002658, allocations: 31.91 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.00272, allocations: 19.97 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.002738, allocations: 5 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.019e-05/0.002748, allocations: 8 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.002772, allocations: 15.92 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.0028, allocations: 20.56 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.552e-05/0.002875, allocations: 41.2 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002878, allocations: 0 / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002878, allocations: 0 / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.002881, allocations: 0 / 0.7903 GB, free: 10.2 MB / 0.7448 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.0003442/0.003226, allocations: 386 kB / 0.7906 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.003255, allocations: 8.031 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.003285, allocations: 12.92 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.72e-05/0.003352, allocations: 112.6 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.003363, allocations: 5.906 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.003373, allocations: 4.375 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.003482, allocations: 141.4 kB / 0.7909 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003489, allocations: 4.172 kB / 0.7909 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003497, allocations: 1.938 kB / 0.7909 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.003501, allocations: 8.312 kB / 0.7909 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.003523, allocations: 11.92 kB / 0.7909 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.003776, allocations: 256.9 kB / 0.7912 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.00384, allocations: 45.14 kB / 0.7912 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.003859, allocations: 15.62 kB / 0.7912 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.67e-06/0.003864, allocations: 4.078 kB / 0.7912 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.6e-05/0.00394, allocations: 73.06 kB / 0.7913 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.003941, allocations: 0 / 0.7913 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001187/0.00406, allocations: 70.34 kB / 0.7914 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.004103, allocations: 107.5 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.304e-05/0.004166, allocations: 166 kB / 0.7916 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.004179, allocations: 26.2 kB / 0.7917 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.124e-05/0.00422, allocations: 144.3 kB / 0.7918 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.004236, allocations: 11.89 kB / 0.7918 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.004268, allocations: 27.38 kB / 0.7918 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.004366, allocations: 0.4884 MB / 0.7923 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.004377, allocations: 4.625 kB / 0.7923 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/0.004419, allocations: 94.39 kB / 0.7924 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.004453, allocations: 28.77 kB / 0.7924 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004455, allocations: 3.984 kB / 0.7924 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.663e-05/0.004522, allocations: 62.3 kB / 0.7925 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.004535, allocations: 13.8 kB / 0.7925 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.004538, allocations: 0.5938 kB / 0.7925 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.652e-06/0.004544, allocations: 4 kB / 0.7925 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.004591, allocations: 9.375 kB / 0.7925 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-06/0.004593, allocations: 0 / 0.7925 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.004644, allocations: 11.98 kB / 0.7925 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.004648, allocations: 1.094 kB / 0.7925 GB, free: 7.617 MB / 0.7448 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 5.964e-05/0.004708, allocations: 156.6 kB / 0.7927 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.628e-06/0.004718, allocations: 4.844 kB / 0.7927 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.627e-05/0.004734, allocations: 11.75 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.004735, allocations: 0 / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.004738, allocations: 4.5 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004741, allocations: 0.8438 kB / 0.7927 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.568e-05/0.004806, allocations: 109.2 kB / 0.7928 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004807, allocations: 2.094 kB / 0.7928 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-06/0.004816, allocations: 4 kB / 0.7928 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.004818, allocations: 7.922 kB / 0.7928 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.004823, allocations: 4 kB / 0.7928 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.004823, allocations: 0 / 0.7928 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.004824, allocations: 3.938 kB / 0.7928 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.236e-05/0.004897, allocations: 89.28 kB / 0.7929 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.004921, allocations: 18.48 kB / 0.7929 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.004935, allocations: 0 / 0.7929 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.004972, allocations: 11.98 kB / 0.793 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.004993, allocations: 7.938 kB / 0.793 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.004998, allocations: 7.984 kB / 0.793 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.24e-05/0.00503, allocations: 127.2 kB / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00503, allocations: 0 / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001335/0.005163, allocations: 17.67 kB / 0.7931 GB, free: 6.988 MB / 0.7448 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 6.281e-05/0.005226, allocations: 103.2 kB / 0.7932 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.257e-05/0.005299, allocations: 35.66 kB / 0.7932 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.0053, allocations: 0.5 kB / 0.7932 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.301e-05/0.005323, allocations: 20.19 kB / 0.7933 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.005425, allocations: 17.95 kB / 0.7933 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.005722, allocations: 138.8 kB / 0.7934 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.57e-05/0.005747, allocations: 59.94 kB / 0.7935 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.827e-05/0.005776, allocations: 9.078 kB / 0.7935 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.005855, allocations: 86.17 kB / 0.7936 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.005855, allocations: 0.6562 kB / 0.7936 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of Templates: time 0.00231/0.008165, allocations: 1.086 MB / 0.7946 GB, free: 5.449 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.125878929160535]