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.0009979/0.0009979, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009989/0.0009989, allocations: 185 kB / 24.09 MB, free: 416 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.9431/0.9431, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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 7.92e-07/7.92e-07, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.839e-06/1.063e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.001551/0.001561, allocations: 1.511 MB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002558/0.001817, allocations: 183.3 kB / 0.7892 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.001844, allocations: 4.562 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.00186, allocations: 5.375 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.001985, allocations: 23.8 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001031/0.002089, allocations: 60.88 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.002149, allocations: 63.78 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.002194, allocations: 4 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.002253, allocations: 36.73 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.002303, allocations: 23.91 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002317, allocations: 4.938 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.002328, allocations: 8 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.002343, allocations: 7.984 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.002374, allocations: 18.36 kB / 0.7895 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.814e-05/0.002432, allocations: 43.88 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-06/0.002433, allocations: 0 / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.01e-07/0.002434, allocations: 0 / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.305e-06/0.002436, allocations: 0 / 0.7895 GB, free: 10.18 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.0003008/0.002737, allocations: 388.5 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.002765, allocations: 13.88 kB / 0.7899 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.165e-05/0.002787, allocations: 4.938 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.00286, allocations: 116.5 kB / 0.79 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.002869, allocations: 384 / 0.79 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.002879, allocations: 12.36 kB / 0.79 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.631e-05/0.002975, allocations: 138.1 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.00298, allocations: 192 / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.002987, allocations: 4.906 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.002991, allocations: 2.031 kB / 0.7902 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.003013, allocations: 19.84 kB / 0.7902 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002186/0.003232, allocations: 252.4 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.00329, allocations: 51.64 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.003307, allocations: 16.2 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.57e-06/0.003313, allocations: 0.8438 kB / 0.7905 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.219e-05/0.003385, allocations: 73.03 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.003386, allocations: 1.156 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0001048/0.003491, allocations: 69.8 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.003527, allocations: 102.8 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.003703, allocations: 175.3 kB / 0.7909 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.003716, allocations: 29.69 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.003751, allocations: 134.8 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.003765, allocations: 11.91 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.003796, allocations: 33.09 kB / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/0.003886, allocations: 496.1 kB / 0.7916 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.003898, allocations: 15.92 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.003938, allocations: 90.44 kB / 0.7917 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.003965, allocations: 23.69 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.003966, allocations: 1.188 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.889e-05/0.004025, allocations: 61.62 kB / 0.7918 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.004034, allocations: 7.938 kB / 0.7918 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.004037, allocations: 5.344 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.004047, allocations: 0 / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.004088, allocations: 15.92 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.004091, allocations: 1.531 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.004132, allocations: 4 kB / 0.7918 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.004136, allocations: 0 / 0.7918 GB, free: 7.605 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.592e-05/0.004192, allocations: 163.4 kB / 0.792 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.004202, allocations: 7.984 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.639e-05/0.004218, allocations: 7.75 kB / 0.792 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00422, allocations: 4 kB / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.004221, allocations: 0 / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.004224, allocations: 0 / 0.792 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.387e-05/0.004288, allocations: 105.2 kB / 0.7921 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.004288, allocations: 4 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-06/0.004296, allocations: 0.5 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.004297, allocations: 0.5312 kB / 0.7921 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-06/0.004301, allocations: 4 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004302, allocations: 1.938 kB / 0.7921 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.004303, allocations: 3.938 kB / 0.7921 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.004372, allocations: 104.6 kB / 0.7922 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.004394, allocations: 11.92 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.004408, allocations: 8.062 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.191e-05/0.00444, allocations: 6.594 kB / 0.7922 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.004457, allocations: 11.92 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.004459, allocations: 3.938 kB / 0.7922 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.029e-05/0.00449, allocations: 127.2 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00449, allocations: 0 / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001163/0.004606, allocations: 19.95 kB / 0.7924 GB, free: 6.969 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 5.776e-05/0.004664, allocations: 100.1 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.004725, allocations: 32.45 kB / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.22e-07/0.004726, allocations: 0 / 0.7925 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.004747, allocations: 23.67 kB / 0.7925 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.638e-05/0.004834, allocations: 6.969 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.005182, allocations: 142.1 kB / 0.7927 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.716e-05/0.005209, allocations: 56.2 kB / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.412e-05/0.005233, allocations: 8.703 kB / 0.7927 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.005305, allocations: 90.17 kB / 0.7928 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.005305, allocations: 6.781 kB / 0.7928 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.002081/0.007386, allocations: 1.072 MB / 0.7939 GB, free: 5.445 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: 4.676305827219039]