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.001148/0.001148, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009734/0.0009734, allocations: 173 kB / 24.28 MB, free: 276 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.9734/0.9734, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.975/1.975, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.472e-06/1.472e-06, allocations: 0 / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.603e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002/0.002026, allocations: 1.511 MB / 0.813 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.002377, allocations: 188.4 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.002418, allocations: 3.938 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.002444, allocations: 5.344 kB / 0.8132 GB, free: 348 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.002666, allocations: 19.86 kB / 0.8132 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.002822, allocations: 60.66 kB / 0.8133 GB, free: 268 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.002911, allocations: 63.78 kB / 0.8133 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.002998, allocations: 13.02 kB / 0.8133 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.343e-05/0.003071, allocations: 31.97 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.003139, allocations: 15.92 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.003162, allocations: 8.531 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.003174, allocations: 5.25 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.003198, allocations: 15.97 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.003237, allocations: 19.92 kB / 0.8134 GB, free: 96 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.003329, allocations: 45.19 kB / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003331, allocations: 0 / 0.8135 GB, free: 52 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.803e-06/0.003333, allocations: 4 kB / 0.8135 GB, free: 48 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.003337, allocations: 0 / 0.8135 GB, free: 48 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.0004585/0.003795, allocations: 381.1 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.003835, allocations: 13.28 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.003882, allocations: 4.938 kB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.003975, allocations: 112.6 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.003989, allocations: 4.375 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.004004, allocations: 6.812 kB / 0.814 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.004149, allocations: 149.3 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.7e-06/0.004154, allocations: 192 / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.004165, allocations: 384 / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.004172, allocations: 384 / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.654e-05/0.004209, allocations: 23.91 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.004571, allocations: 272.2 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.393e-05/0.004665, allocations: 52.14 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.00469, allocations: 11.69 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-06/0.004696, allocations: 4.781 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.004801, allocations: 80.97 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.883e-06/0.004802, allocations: 0.5938 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001664/0.004969, allocations: 70.39 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.00502, allocations: 106.8 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.355e-05/0.005093, allocations: 171.4 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.00511, allocations: 29.7 kB / 0.8149 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.005155, allocations: 134.8 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.005175, allocations: 13.44 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.005212, allocations: 27.36 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003041/0.005516, allocations: 0.4923 MB / 0.8156 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.005537, allocations: 4 kB / 0.8156 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.391e-05/0.005591, allocations: 96.39 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.47e-05/0.005636, allocations: 27.83 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005637, allocations: 0 / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.311e-05/0.005721, allocations: 77.58 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.005734, allocations: 4 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.005738, allocations: 0 / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.00575, allocations: 5.359 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.767e-05/0.005817, allocations: 15.98 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.005822, allocations: 0 / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.005874, allocations: 5.219 kB / 0.8158 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.005881, allocations: 7.984 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 6.882e-05/0.00595, allocations: 157.1 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.005962, allocations: 7.938 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.00598, allocations: 8.344 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005982, allocations: 0.875 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.005986, allocations: 4 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.005989, allocations: 0 / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.661e-05/0.006066, allocations: 125.4 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006067, allocations: 0 / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.326e-05/0.00608, allocations: 8.453 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.006083, allocations: 5.375 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.006091, allocations: 7.875 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006093, allocations: 0 / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006094, allocations: 0 / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.006194, allocations: 97.34 kB / 0.8162 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.726e-05/0.006222, allocations: 11.92 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.006241, allocations: 9.094 kB / 0.8162 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.006281, allocations: 7.984 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.006313, allocations: 9.281 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.006319, allocations: 7.984 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.006361, allocations: 123.2 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006361, allocations: 0 / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001283/0.00649, allocations: 20.64 kB / 0.8164 GB, free: 12.76 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.136e-05/0.006571, allocations: 100.1 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.791e-05/0.006669, allocations: 39.66 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00667, allocations: 1.562 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.006696, allocations: 15.69 kB / 0.8165 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.0001196/0.006816, allocations: 11.98 kB / 0.8165 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.007238, allocations: 135.2 kB / 0.8167 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.064e-05/0.007268, allocations: 59.34 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.007299, allocations: 7.344 kB / 0.8167 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.007328, allocations: 16.5 kB / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.007328, allocations: 0 / 0.8168 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of Templates: time 0.002587/0.009915, allocations: 0.9752 MB / 0.8177 GB, free: 11.39 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.157569895964116]