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.001355/0.001355, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001516/0.001516, allocations: 169 kB / 24.28 MB, free: 280 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.9771/0.9771, allocations: 177.2 MB / 204.6 MB, free: 5.578 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.88/1.88, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.663e-06/1.663e-06, allocations: 0 / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.785e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002487/0.002515, allocations: 1.514 MB / 0.813 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003906/0.002906, allocations: 191.2 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.113e-05/0.002947, allocations: 0 / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.002974, allocations: 5.562 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.003204, allocations: 23.8 kB / 0.8132 GB, free: 320 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.003376, allocations: 59.78 kB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.993e-05/0.003476, allocations: 65.09 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.003563, allocations: 3.984 kB / 0.8134 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.003648, allocations: 39.91 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.969e-05/0.003717, allocations: 17.56 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.003744, allocations: 4 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.003756, allocations: 4 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.003784, allocations: 19.92 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.003826, allocations: 15.98 kB / 0.8135 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.00393, allocations: 44.64 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.003932, allocations: 0.5312 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003933, allocations: 0 / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003938, allocations: 5.594 kB / 0.8135 GB, free: 44 kB / 0.7605 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.0004897/0.004427, allocations: 380.5 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.004466, allocations: 8.031 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.868e-05/0.004514, allocations: 4.938 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.004615, allocations: 125.2 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.004632, allocations: 4.375 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.004647, allocations: 5.5 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.004804, allocations: 141.4 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.004812, allocations: 1.344 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.004826, allocations: 8.359 kB / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.004834, allocations: 384 / 0.8142 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.186e-05/0.004875, allocations: 23.84 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.005269, allocations: 269.2 kB / 0.8144 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.005369, allocations: 47.05 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.005398, allocations: 17.53 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.005406, allocations: 3.984 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.005527, allocations: 80.94 kB / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.005528, allocations: 0 / 0.8146 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001867/0.005715, allocations: 68.06 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.005773, allocations: 106.8 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.005994, allocations: 165.9 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.006014, allocations: 25.7 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.006064, allocations: 142.8 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.006088, allocations: 15.89 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.006132, allocations: 29.31 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.006247, allocations: 496.1 kB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.006279, allocations: 8 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.006348, allocations: 90.45 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.484e-05/0.006403, allocations: 31.67 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006405, allocations: 0.5 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000102/0.006507, allocations: 65.58 kB / 0.8158 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.006522, allocations: 9.906 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006527, allocations: 3.938 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.006539, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.006619, allocations: 8.5 kB / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.006624, allocations: 0 / 0.8158 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.823e-05/0.006693, allocations: 22.39 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.006701, allocations: 4 kB / 0.8158 GB, free: 13.42 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 7.916e-05/0.00678, allocations: 160.5 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.006795, allocations: 7.938 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.006814, allocations: 7.812 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006816, allocations: 1.156 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.006823, allocations: 3.984 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006827, allocations: 0 / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.071e-05/0.006917, allocations: 129.2 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006919, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.006937, allocations: 4.688 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.006938, allocations: 0 / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.006948, allocations: 8.781 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.006949, allocations: 0 / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.006952, allocations: 5.812 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.007069, allocations: 100.4 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/0.007099, allocations: 7.938 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.007121, allocations: 7.922 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.007173, allocations: 8 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.007207, allocations: 8.734 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.007212, allocations: 0 / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.007255, allocations: 124.1 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007255, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001936/0.007448, allocations: 19.95 kB / 0.8164 GB, free: 12.77 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 0.0001003/0.007549, allocations: 104.4 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007661, allocations: 40.98 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.007662, allocations: 0 / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.502e-05/0.007697, allocations: 23.69 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.007854, allocations: 9.016 kB / 0.8166 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/0.008329, allocations: 142.2 kB / 0.8167 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.363e-05/0.008362, allocations: 58.3 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.008399, allocations: 13.72 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.008429, allocations: 12.5 kB / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.00843, allocations: 0 / 0.8168 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002876/0.01131, allocations: 0.9767 MB / 0.8177 GB, free: 11.41 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.1419850760139525]