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.0009422/0.0009422, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009606/0.0009606, allocations: 169 kB / 24.06 MB, free: 456 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 1.04/1.04, allocations: 177.1 MB / 204.5 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.163/2.163, allocations: 429.5 MB / 0.6743 GB, free: 3.887 MB / 0.6355 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.292e-06/1.292e-06, allocations: 0 / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.432e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001741/0.001756, allocations: 1.509 MB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.002082, allocations: 192.7 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.002118, allocations: 0.7812 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002144, allocations: 7.922 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.002332, allocations: 24.14 kB / 0.8811 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.002461, allocations: 59.78 kB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.00254, allocations: 55.84 kB / 0.8812 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.002613, allocations: 8.656 kB / 0.8812 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.00268, allocations: 43.83 kB / 0.8813 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.002744, allocations: 17.48 kB / 0.8813 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.002763, allocations: 4 kB / 0.8813 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.002772, allocations: 4 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.002795, allocations: 23.81 kB / 0.8813 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.002824, allocations: 19.92 kB / 0.8813 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.919e-05/0.002904, allocations: 39.94 kB / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002906, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002906, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.002909, allocations: 0 / 0.8814 GB, free: 4.008 MB / 0.8386 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.0003758/0.003285, allocations: 384.5 kB / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.003317, allocations: 8.031 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.003349, allocations: 12.89 kB / 0.8817 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.003421, allocations: 108.6 kB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.003434, allocations: 5.312 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.003444, allocations: 8.25 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.003561, allocations: 145.4 kB / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.003569, allocations: 1.219 kB / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003577, allocations: 384 / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003581, allocations: 384 / 0.882 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.158e-05/0.003603, allocations: 13.06 kB / 0.882 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.003881, allocations: 268.3 kB / 0.8823 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.003954, allocations: 39.75 kB / 0.8823 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003973, allocations: 20.86 kB / 0.8823 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.003981, allocations: 4 kB / 0.8823 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.612e-05/0.004067, allocations: 64.53 kB / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.004068, allocations: 0 / 0.8824 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001414/0.00421, allocations: 73.56 kB / 0.8825 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.004262, allocations: 106.8 kB / 0.8826 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.004332, allocations: 170.1 kB / 0.8827 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.004347, allocations: 33.7 kB / 0.8828 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.00439, allocations: 134.8 kB / 0.8829 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.004409, allocations: 15.89 kB / 0.8829 GB, free: 2.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.004445, allocations: 27.36 kB / 0.8829 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.00455, allocations: 496.1 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.004564, allocations: 8.797 kB / 0.8834 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.004612, allocations: 90.39 kB / 0.8835 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.004647, allocations: 28.27 kB / 0.8835 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004649, allocations: 1.25 kB / 0.8835 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.803e-05/0.004717, allocations: 61.67 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.004728, allocations: 7.938 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.004732, allocations: 1.406 kB / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.004741, allocations: 0 / 0.8836 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.004793, allocations: 8 kB / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004795, allocations: 0 / 0.8836 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.004845, allocations: 22.62 kB / 0.8836 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.004851, allocations: 4 kB / 0.8836 GB, free: 1.43 MB / 0.8386 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.472e-05/0.004915, allocations: 156.6 kB / 0.8838 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.004927, allocations: 11.95 kB / 0.8838 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.004947, allocations: 11.73 kB / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.004949, allocations: 0 / 0.8838 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.00495, allocations: 3.938 kB / 0.8838 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.004953, allocations: 0 / 0.8838 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.005175, allocations: 109.2 kB / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.005176, allocations: 0 / 0.8839 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.274e-05/0.005189, allocations: 8 kB / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.00519, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.005194, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.005195, allocations: 0 / 0.8839 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.005196, allocations: 3.938 kB / 0.8839 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.345e-05/0.00528, allocations: 104.3 kB / 0.884 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.005304, allocations: 7.938 kB / 0.884 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.005318, allocations: 4 kB / 0.884 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.005355, allocations: 8.297 kB / 0.884 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.00538, allocations: 11.92 kB / 0.884 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.005385, allocations: 8 kB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.005416, allocations: 127.2 kB / 0.8842 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005416, allocations: 0 / 0.8842 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001224/0.005539, allocations: 8 kB / 0.8842 GB, free: 0.793 MB / 0.8386 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 7.119e-05/0.00561, allocations: 107.2 kB / 0.8843 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.04e-05/0.00569, allocations: 31.61 kB / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.005691, allocations: 0 / 0.8843 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.792e-05/0.005719, allocations: 15.69 kB / 0.8843 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.005826, allocations: 12.67 kB / 0.8843 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.006145, allocations: 146.3 kB / 0.8845 GB, free: 452 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.541e-05/0.006171, allocations: 55.36 kB / 0.8845 GB, free: 376 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.807e-05/0.006199, allocations: 4 kB / 0.8845 GB, free: 372 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.006275, allocations: 90.16 kB / 0.8846 GB, free: 280 kB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/0.006276, allocations: 0 / 0.8846 GB, free: 280 kB / 0.8386 GB Notification: Performance of Templates: time 0.002387/0.008663, allocations: 1.1 MB / 0.8857 GB, free: 15.2 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.377837272826582]