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.001076/0.001076, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.000989/0.000989, allocations: 161 kB / 23.82 MB, free: 0.7539 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.952/0.952, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.819/1.819, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.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 2.504e-06/2.504e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.378e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003279/0.003313, allocations: 1.513 MB / 0.813 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007171/0.00403, allocations: 192.8 kB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.004086, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.004128, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.004447, allocations: 32.98 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.004659, allocations: 51.81 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.004788, allocations: 65.16 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.004898, allocations: 3.984 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.005003, allocations: 39.91 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.005109, allocations: 16.5 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.005143, allocations: 5.375 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.837e-05/0.005162, allocations: 4 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.005196, allocations: 23.91 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.005254, allocations: 15.98 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005394, allocations: 45.03 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.005398, allocations: 0 / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005399, allocations: 3.938 kB / 0.8135 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.005405, allocations: 1.156 kB / 0.8135 GB, free: 15.72 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.0006281/0.006033, allocations: 380.5 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.006084, allocations: 8.031 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/0.006156, allocations: 6.031 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.006282, allocations: 116.6 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.006302, allocations: 8.375 kB / 0.814 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.006321, allocations: 5.219 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.006528, allocations: 141.3 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.006536, allocations: 1.781 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.006554, allocations: 8.375 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.006564, allocations: 384 / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.006614, allocations: 15.92 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004769/0.007091, allocations: 274.5 kB / 0.8144 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.007215, allocations: 50.98 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/0.007252, allocations: 19.77 kB / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.007262, allocations: 0 / 0.8145 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.007399, allocations: 76.88 kB / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/0.007401, allocations: 0 / 0.8146 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002238/0.007625, allocations: 70.12 kB / 0.8146 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/0.007693, allocations: 107.3 kB / 0.8147 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.007791, allocations: 167.9 kB / 0.8149 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.007808, allocations: 25.7 kB / 0.8149 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.007879, allocations: 138.8 kB / 0.8151 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.007907, allocations: 11.89 kB / 0.8151 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.439e-05/0.007961, allocations: 35.36 kB / 0.8151 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.008112, allocations: 493.8 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.008146, allocations: 8.5 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.428e-05/0.00822, allocations: 90.45 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.513e-05/0.008285, allocations: 35.81 kB / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008287, allocations: 0 / 0.8157 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001252/0.008413, allocations: 78.48 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.00843, allocations: 8 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.008436, allocations: 0.5312 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.008451, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.008546, allocations: 8.844 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.008553, allocations: 3.938 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.795e-05/0.008631, allocations: 12.83 kB / 0.8158 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.008642, allocations: 4 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 9.477e-05/0.008737, allocations: 157.9 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.008758, allocations: 7.938 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.008789, allocations: 12.59 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.008796, allocations: 7.969 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.0088, allocations: 0 / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.008804, allocations: 1.219 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.00892, allocations: 124.6 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008922, allocations: 0 / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.00895, allocations: 5.312 kB / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.008954, allocations: 0 / 0.8161 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.008964, allocations: 3.938 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008966, allocations: 0 / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008967, allocations: 0.9375 kB / 0.8161 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001483/0.009116, allocations: 104.4 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.043e-05/0.009156, allocations: 13.05 kB / 0.8162 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.009185, allocations: 3.938 kB / 0.8162 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.009255, allocations: 8 kB / 0.8162 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.009297, allocations: 9.016 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.009304, allocations: 3.938 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.541e-05/0.00936, allocations: 127.2 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.01e-07/0.00936, allocations: 1.125 kB / 0.8164 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000247/0.009607, allocations: 23.94 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 0.0001286/0.009735, allocations: 100.3 kB / 0.8165 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.009877, allocations: 35.67 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.00988, allocations: 4.5 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.009925, allocations: 28.92 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.0001883/0.01011, allocations: 4 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.01072, allocations: 135.2 kB / 0.8167 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.629e-05/0.01077, allocations: 58.11 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.01082, allocations: 9.328 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.01086, allocations: 12.5 kB / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of SimCode: time 9.81e-07/0.01086, allocations: 0 / 0.8168 GB, free: 12 MB / 0.7761 GB Notification: Performance of Templates: time 0.003944/0.0148, allocations: 1.059 MB / 0.8178 GB, free: 10.97 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.026999055873603]