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.001/0.001, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009562/0.0009562, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.872/0.872, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.038/2.038, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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 2.044e-06/2.044e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.878e-05, allocations: 3.656 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002995/0.003024, allocations: 1.511 MB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004605/0.003484, allocations: 193 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.003529, allocations: 4 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.003565, allocations: 4.594 kB / 0.8799 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.003831, allocations: 19.72 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.004042, allocations: 56.91 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00416, allocations: 69.3 kB / 0.88 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.004256, allocations: 8 kB / 0.88 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.004347, allocations: 29.06 kB / 0.88 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.71e-05/0.004434, allocations: 27.89 kB / 0.8801 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.004466, allocations: 4 kB / 0.8801 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.004483, allocations: 8.781 kB / 0.8801 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.004509, allocations: 8 kB / 0.8801 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.004558, allocations: 21.59 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.004678, allocations: 47.81 kB / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.004681, allocations: 0 / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/0.004683, allocations: 0 / 0.8801 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.004688, allocations: 1.125 kB / 0.8801 GB, free: 4.34 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.000576/0.005264, allocations: 384.5 kB / 0.8805 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.00531, allocations: 12.03 kB / 0.8805 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.005375, allocations: 9.984 kB / 0.8805 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.005494, allocations: 108.6 kB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.005514, allocations: 5.031 kB / 0.8806 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.005532, allocations: 8.359 kB / 0.8806 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.005738, allocations: 145.8 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.005747, allocations: 1.031 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.005763, allocations: 4.375 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.005772, allocations: 384 / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.24e-05/0.005824, allocations: 17.17 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.006284, allocations: 275.7 kB / 0.8811 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.006407, allocations: 48.08 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.006442, allocations: 15.69 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.006452, allocations: 5.594 kB / 0.8811 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.006594, allocations: 73.08 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.006595, allocations: 0 / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.000227/0.006822, allocations: 73.61 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.006889, allocations: 105.9 kB / 0.8814 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.006988, allocations: 169.9 kB / 0.8815 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.007008, allocations: 29.64 kB / 0.8816 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.17e-05/0.00707, allocations: 138.8 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.007095, allocations: 11.97 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.007148, allocations: 31.36 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.007289, allocations: 0.4923 MB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.007318, allocations: 4 kB / 0.8822 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.007391, allocations: 95.92 kB / 0.8823 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.169e-05/0.007452, allocations: 27.62 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.007455, allocations: 0 / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.007577, allocations: 65.62 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.007593, allocations: 4.594 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007598, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007612, allocations: 1.656 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.064e-05/0.007703, allocations: 11.98 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.007709, allocations: 4 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.007783, allocations: 4 kB / 0.8824 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.007798, allocations: 8.953 kB / 0.8824 GB, free: 1.723 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 9.317e-05/0.007891, allocations: 165.1 kB / 0.8826 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.007916, allocations: 11.89 kB / 0.8826 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.00794, allocations: 11.84 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007943, allocations: 0 / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007947, allocations: 0 / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.007951, allocations: 0 / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.008055, allocations: 124.6 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008056, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.008084, allocations: 7.984 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.008087, allocations: 0 / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.008099, allocations: 8.438 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.008101, allocations: 0 / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.008103, allocations: 0 / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.008251, allocations: 108.4 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.008293, allocations: 15.86 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.00832, allocations: 7.938 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.008395, allocations: 7.984 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.008432, allocations: 4 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.008439, allocations: 3.984 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.294e-05/0.008492, allocations: 131.1 kB / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.008492, allocations: 0 / 0.883 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002208/0.008713, allocations: 16 kB / 0.883 GB, free: 1.039 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 0.0001106/0.008823, allocations: 99.25 kB / 0.8831 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.008962, allocations: 43.88 kB / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.008964, allocations: 0 / 0.8832 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.009005, allocations: 19.62 kB / 0.8832 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.009179, allocations: 14.23 kB / 0.8832 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005493/0.009728, allocations: 130.3 kB / 0.8833 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.009765, allocations: 59.34 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.009806, allocations: 8 kB / 0.8834 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.009841, allocations: 12.5 kB / 0.8834 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of SimCode: time 8.71e-07/0.009842, allocations: 4 kB / 0.8834 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of Templates: time 0.003637/0.01348, allocations: 1.05 MB / 0.8844 GB, free: 15.57 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.111524885986]