Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00135/0.00135, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001499/0.001499, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9743/0.9743, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.406/2.406, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.173e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002257/0.002279, allocations: 1.524 MB / 0.8912 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004974/0.002776, allocations: 179.3 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.002832, allocations: 4 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.002864, allocations: 0 / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.003168, allocations: 31.78 kB / 0.8914 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.003394, allocations: 55.8 kB / 0.8915 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003506, allocations: 59.78 kB / 0.8916 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.003615, allocations: 11.97 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.003705, allocations: 31.98 kB / 0.8916 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 9.266e-05/0.003797, allocations: 23.91 kB / 0.8916 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.003826, allocations: 4 kB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.003843, allocations: 8 kB / 0.8916 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.065e-05/0.003874, allocations: 15.97 kB / 0.8916 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.003912, allocations: 15.94 kB / 0.8917 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.004027, allocations: 47.86 kB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00403, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004031, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.004037, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 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.0005358/0.004573, allocations: 388.5 kB / 0.8921 GB, free: 7.297 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.547e-05/0.004628, allocations: 8.625 kB / 0.8921 GB, free: 7.289 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.004671, allocations: 8.922 kB / 0.8921 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.004777, allocations: 120.6 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.004798, allocations: 4.375 kB / 0.8922 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.004814, allocations: 8.375 kB / 0.8922 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.004997, allocations: 145.3 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005007, allocations: 192 / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.005019, allocations: 384 / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.005026, allocations: 384 / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.005055, allocations: 15.92 kB / 0.8924 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.005466, allocations: 252.5 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005567, allocations: 46.98 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.00559, allocations: 23.62 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.005597, allocations: 0 / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.005712, allocations: 65.14 kB / 0.8927 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.503e-06/0.005713, allocations: 0 / 0.8927 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5): time 0.0001954/0.005909, allocations: 73.5 kB / 0.8928 GB, free: 6.418 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.005971, allocations: 106.8 kB / 0.8929 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.006062, allocations: 161.9 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.006092, allocations: 33.7 kB / 0.8931 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.006149, allocations: 130.8 kB / 0.8932 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.006176, allocations: 19.89 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.021e-05/0.006216, allocations: 31.36 kB / 0.8933 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005626/0.006779, allocations: 0.4884 MB / 0.8938 GB, free: 5.383 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.515e-05/0.006804, allocations: 4 kB / 0.8938 GB, free: 5.379 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.006867, allocations: 90.45 kB / 0.8938 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.006923, allocations: 23.67 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.006927, allocations: 0.5 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001014/0.007029, allocations: 65.62 kB / 0.8939 GB, free: 5.168 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.007053, allocations: 7.938 kB / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.007059, allocations: 0 / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.007074, allocations: 0 / 0.8939 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.002e-05/0.007164, allocations: 20.02 kB / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.007168, allocations: 0 / 0.894 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.007263, allocations: 15.94 kB / 0.894 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.007271, allocations: 0 / 0.894 GB, free: 5.125 MB / 0.8542 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 0.000106/0.007377, allocations: 160.6 kB / 0.8941 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.007395, allocations: 4 kB / 0.8941 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.007426, allocations: 7.75 kB / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.00743, allocations: 0 / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.007434, allocations: 0 / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.007438, allocations: 0 / 0.8941 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.007547, allocations: 113.2 kB / 0.8942 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.00755, allocations: 0 / 0.8942 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.007575, allocations: 7.938 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.007578, allocations: 0 / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.007588, allocations: 3.984 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.007589, allocations: 0 / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.007593, allocations: 7.875 kB / 0.8943 GB, free: 4.789 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.007727, allocations: 100.4 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.007767, allocations: 11.92 kB / 0.8944 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.007785, allocations: 0 / 0.8944 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.007832, allocations: 15.97 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.007863, allocations: 7.938 kB / 0.8944 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007869, allocations: 4 kB / 0.8944 GB, free: 4.629 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.007921, allocations: 127.2 kB / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007921, allocations: 0 / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001545/0.008076, allocations: 16 kB / 0.8945 GB, free: 4.488 MB / 0.8542 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.0001458/0.008222, allocations: 99.44 kB / 0.8946 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.008333, allocations: 35.89 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008335, allocations: 0 / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.008368, allocations: 23.67 kB / 0.8947 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.008496, allocations: 12 kB / 0.8947 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/0.008993, allocations: 142.2 kB / 0.8948 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.845e-05/0.009032, allocations: 59.34 kB / 0.8949 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.979e-05/0.009072, allocations: 4 kB / 0.8949 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.009165, allocations: 90.17 kB / 0.895 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of SimCode: time 2.044e-06/0.009167, allocations: 0 / 0.895 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of Templates: time 0.003365/0.01253, allocations: 1.064 MB / 0.896 GB, free: 2.918 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.249763230327517]