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.001029/0.001029, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001293/0.001293, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9887/0.9887, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.962/1.962, allocations: 377.8 MB / 0.6236 GB, free: 8.52 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.863e-06/1.863e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.06e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003325/0.003356, allocations: 1.517 MB / 0.813 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005414/0.003897, allocations: 192.3 kB / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.003945, allocations: 0 / 0.8132 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.383e-05/0.003979, allocations: 3.984 kB / 0.8132 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.004248, allocations: 21.73 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004424, allocations: 63.78 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.004525, allocations: 59.84 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.004627, allocations: 5.969 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.004717, allocations: 43.89 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.77e-05/0.004804, allocations: 7.984 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.00483, allocations: 8 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.222e-05/0.004842, allocations: 4 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.00487, allocations: 25.41 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.004912, allocations: 11.98 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.005022, allocations: 47.81 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005026, allocations: 4 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.005027, allocations: 1.344 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.005032, allocations: 0 / 0.8135 GB, free: 15.71 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.0004909/0.005523, allocations: 384.5 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.005564, allocations: 9.969 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.005611, allocations: 4.938 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.005722, allocations: 116.6 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.005737, allocations: 384 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.005753, allocations: 4.375 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.005917, allocations: 149.3 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005928, allocations: 6.266 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.00594, allocations: 384 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.005948, allocations: 384 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.005983, allocations: 11.94 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.006374, allocations: 279.8 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.63e-05/0.006471, allocations: 48.02 kB / 0.8145 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.0065, allocations: 20.41 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.006509, allocations: 0 / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.006621, allocations: 77.5 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.006622, allocations: 1.531 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0001873/0.006809, allocations: 69.62 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.006866, allocations: 110.8 kB / 0.8147 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/0.006942, allocations: 157.9 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.006959, allocations: 34.22 kB / 0.8149 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.00701, allocations: 134.8 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.007034, allocations: 17.22 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.007074, allocations: 31.36 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.007194, allocations: 492.1 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.325e-05/0.007217, allocations: 9.641 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-05/0.007278, allocations: 98.39 kB / 0.8157 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.007327, allocations: 31.83 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.007329, allocations: 1.375 kB / 0.8157 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.336e-05/0.007423, allocations: 77.58 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.007437, allocations: 4 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.007442, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.007462, allocations: 8.922 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.613e-05/0.007538, allocations: 11.98 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.007543, allocations: 0.75 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.007626, allocations: 8 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.007634, allocations: 1.094 kB / 0.8158 GB, free: 13.09 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.461e-05/0.007718, allocations: 164.6 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.007732, allocations: 8.781 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.007754, allocations: 3.812 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.007757, allocations: 5.469 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.007761, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.007765, allocations: 0 / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.007848, allocations: 128.5 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007849, allocations: 1.062 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.007864, allocations: 0 / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.007866, allocations: 4 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.007878, allocations: 13.92 kB / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.00788, allocations: 0 / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00788, allocations: 0 / 0.8161 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007993, allocations: 96.44 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.008021, allocations: 7.984 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.008042, allocations: 7.938 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.008084, allocations: 10.33 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.008116, allocations: 0 / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.008121, allocations: 4 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.671e-05/0.008168, allocations: 131.2 kB / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008168, allocations: 0 / 0.8164 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001384/0.008306, allocations: 27.83 kB / 0.8164 GB, free: 12.43 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 9.146e-05/0.008397, allocations: 96.28 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.008503, allocations: 37.02 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.00851, allocations: 0 / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.483e-05/0.008545, allocations: 35.55 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.008669, allocations: 4.656 kB / 0.8166 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004501/0.009119, allocations: 134.9 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.735e-05/0.009156, allocations: 59.34 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.02e-05/0.009187, allocations: 4.656 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.009217, allocations: 15.78 kB / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.009218, allocations: 0 / 0.8168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.002684/0.0119, allocations: 0.9839 MB / 0.8177 GB, free: 11.04 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.389640433713794]