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.00127/0.00127, allocations: 77.88 kB / 20.68 MB, free: 3.809 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.001461/0.001461, allocations: 181 kB / 24.08 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.9994/0.9994, allocations: 177.1 MB / 204.5 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.733e-06/1.733e-06, allocations: 0 / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.863e-05, allocations: 2.312 kB / 0.812 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002484/0.002503, allocations: 1.507 MB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.002921, allocations: 192.8 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.002967, allocations: 0 / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.67e-05/0.002994, allocations: 0 / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000219/0.003213, allocations: 29.42 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003396, allocations: 59.83 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.948e-05/0.003495, allocations: 59.84 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.003573, allocations: 5.75 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.00366, allocations: 43.89 kB / 0.8139 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.003737, allocations: 11.98 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.003762, allocations: 4 kB / 0.8139 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.003775, allocations: 5.312 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.003805, allocations: 23.91 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.003845, allocations: 15.98 kB / 0.8139 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.00395, allocations: 47.81 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003952, allocations: 1.906 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003952, allocations: 0 / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.003957, allocations: 0 / 0.814 GB, free: 15.44 MB / 0.7761 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.0004773/0.004434, allocations: 380.5 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.004479, allocations: 14.45 kB / 0.8144 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.004516, allocations: 8.938 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.257e-05/0.004608, allocations: 112.6 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.004624, allocations: 4.375 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.004638, allocations: 4.375 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.004783, allocations: 141.3 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.004791, allocations: 192 / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004801, allocations: 1.094 kB / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.004807, allocations: 384 / 0.8146 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.004838, allocations: 20.45 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.005171, allocations: 254 kB / 0.8149 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.994e-05/0.005261, allocations: 47.05 kB / 0.8149 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.005286, allocations: 23.77 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.005293, allocations: 0.6562 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001046/0.005398, allocations: 66.19 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.005399, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001554/0.005555, allocations: 69.56 kB / 0.8151 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.005606, allocations: 106.8 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.892e-05/0.005685, allocations: 163.5 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.005705, allocations: 33.7 kB / 0.8154 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.005756, allocations: 130.8 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.005778, allocations: 17.27 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.342e-05/0.005822, allocations: 31.36 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004716/0.006293, allocations: 496.1 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.006312, allocations: 5.156 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.006373, allocations: 94.38 kB / 0.8161 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.583e-05/0.006419, allocations: 31.81 kB / 0.8161 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.006422, allocations: 8.594 kB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.485e-05/0.006517, allocations: 65.62 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.006532, allocations: 8.688 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.006537, allocations: 0 / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006549, allocations: 0.8438 kB / 0.8162 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.006618, allocations: 12 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.006623, allocations: 5.812 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.006689, allocations: 7.984 kB / 0.8162 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.006696, allocations: 0 / 0.8162 GB, free: 12.87 MB / 0.7761 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 8.439e-05/0.00678, allocations: 160.5 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.006796, allocations: 12.75 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.006819, allocations: 7.75 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006821, allocations: 2.344 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006822, allocations: 0 / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.006829, allocations: 7.969 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.4e-05/0.006923, allocations: 105.2 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006924, allocations: 0 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/0.006945, allocations: 7.984 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006948, allocations: 2 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.006954, allocations: 0 / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.006955, allocations: 0 / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006957, allocations: 3.938 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.007077, allocations: 100.4 kB / 0.8166 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.00711, allocations: 11.92 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.007129, allocations: 0.5 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.007185, allocations: 9.328 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.007218, allocations: 11.88 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.007224, allocations: 7.984 kB / 0.8167 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.882e-05/0.007273, allocations: 128 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007273, allocations: 0 / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002144/0.007487, allocations: 16.61 kB / 0.8168 GB, free: 12.23 MB / 0.7761 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.95e-05/0.007577, allocations: 106.8 kB / 0.8169 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.324e-05/0.00767, allocations: 31.67 kB / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007671, allocations: 0 / 0.8169 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.007704, allocations: 23.56 kB / 0.817 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.007855, allocations: 11.98 kB / 0.817 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.008263, allocations: 132.8 kB / 0.8171 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.718e-05/0.008301, allocations: 59.34 kB / 0.8172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.008335, allocations: 10.09 kB / 0.8172 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.00844, allocations: 86.17 kB / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/0.00844, allocations: 0 / 0.8173 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of Templates: time 0.003164/0.0116, allocations: 1.063 MB / 0.8183 GB, free: 10.72 MB / 0.7761 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 -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.048438564874232]