Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.001482/0.001482, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001632/0.001632, allocations: 168.4 kB / 24.86 MB, free: 9.27 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.9557/0.9557, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.976/1.976, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 177] 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.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conTim.modTim|conTim.calTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.501e-05, allocations: 6.047 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002164/0.002189, allocations: 1.504 MB / 0.8143 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.002547, allocations: 188.1 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.002592, allocations: 4 kB / 0.8144 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.002622, allocations: 9.016 kB / 0.8145 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.002824, allocations: 25.2 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.002972, allocations: 63.77 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.779e-05/0.00306, allocations: 59.84 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.434e-05/0.003144, allocations: 4 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.123e-05/0.003216, allocations: 40.73 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/0.003282, allocations: 15.98 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.003301, allocations: 5 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.003313, allocations: 8 kB / 0.8147 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.003336, allocations: 16.47 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.003366, allocations: 15.98 kB / 0.8147 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.722e-05/0.003453, allocations: 41.19 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003455, allocations: 0 / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003456, allocations: 0 / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.00346, allocations: 1.281 kB / 0.8147 GB, free: 15.47 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.0003884/0.003848, allocations: 388.5 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.003881, allocations: 15.97 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.003914, allocations: 5.531 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.003992, allocations: 116.5 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004006, allocations: 5.625 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.004017, allocations: 4.375 kB / 0.8152 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.004144, allocations: 137.4 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004152, allocations: 2.594 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.004162, allocations: 8.359 kB / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.004167, allocations: 384 / 0.8154 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.00419, allocations: 7.938 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002975/0.004488, allocations: 256.3 kB / 0.8156 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.004567, allocations: 51.67 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.004586, allocations: 16.52 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-06/0.004592, allocations: 0 / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.057e-05/0.004683, allocations: 77.5 kB / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.004683, allocations: 0 / 0.8158 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001387/0.004822, allocations: 66.31 kB / 0.8158 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.004871, allocations: 102.8 kB / 0.8159 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.611e-05/0.004937, allocations: 171.2 kB / 0.8161 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.00495, allocations: 25.7 kB / 0.8161 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.004993, allocations: 134.8 kB / 0.8163 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.005017, allocations: 21.41 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.005052, allocations: 27.36 kB / 0.8163 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.005158, allocations: 496.1 kB / 0.8168 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.005176, allocations: 11.98 kB / 0.8168 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.693e-05/0.005223, allocations: 92.33 kB / 0.8169 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.877e-05/0.005261, allocations: 31.81 kB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005263, allocations: 0 / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.2e-05/0.005335, allocations: 62.12 kB / 0.817 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.005348, allocations: 7.938 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005353, allocations: 1.344 kB / 0.817 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.005361, allocations: 4 kB / 0.817 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.525e-05/0.005416, allocations: 11.94 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.005419, allocations: 4 kB / 0.817 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.00547, allocations: 9.234 kB / 0.817 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005475, allocations: 0 / 0.817 GB, free: 12.89 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.274e-05/0.005548, allocations: 165 kB / 0.8172 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.005561, allocations: 4.531 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.005576, allocations: 7.75 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.005578, allocations: 0.875 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.005581, allocations: 7.984 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005584, allocations: 0.8125 kB / 0.8172 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.005659, allocations: 105.2 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.005661, allocations: 4.516 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.005674, allocations: 4 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005675, allocations: 1.375 kB / 0.8173 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005681, allocations: 4 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.005682, allocations: 0 / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.005684, allocations: 5.094 kB / 0.8173 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.573e-05/0.005769, allocations: 96.38 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.777e-05/0.005797, allocations: 15.91 kB / 0.8174 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.005812, allocations: 4.906 kB / 0.8174 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.048e-05/0.005853, allocations: 7.984 kB / 0.8174 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.005878, allocations: 11.92 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.005882, allocations: 0.8438 kB / 0.8174 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.005926, allocations: 123.2 kB / 0.8175 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005926, allocations: 1.281 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001366/0.006063, allocations: 19.95 kB / 0.8176 GB, free: 12.26 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.579e-05/0.006149, allocations: 99.89 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.006235, allocations: 36.7 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006237, allocations: 0 / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.006263, allocations: 23.69 kB / 0.8177 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.006373, allocations: 9.578 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.006722, allocations: 130.3 kB / 0.8179 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.97e-05/0.006751, allocations: 59.34 kB / 0.8179 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.006784, allocations: 8.969 kB / 0.8179 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.006868, allocations: 97.53 kB / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of SimCode: time 8.52e-07/0.006869, allocations: 0 / 0.818 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.002488/0.009356, allocations: 1.074 MB / 0.8191 GB, free: 10.71 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.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.276107067242265]