Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.0009805/0.0009805, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00156/0.00156, allocations: 165 kB / 24.17 MB, free: 328 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 0.9534/0.9534, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.876/1.876, allocations: 377.9 MB / 0.624 GB, free: 8.293 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.76 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.549e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1345/0.1345, allocations: 149.6 MB / 0.9061 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1459, allocations: 11.29 MB / 0.9171 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006628/0.1466, allocations: 47.62 kB / 0.9172 GB, free: 5.25 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.00073/0.1473, allocations: 349 kB / 0.9175 GB, free: 4.906 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.149, allocations: 1.064 MB / 0.9186 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.1512, allocations: 1.484 MB / 0.92 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002392/0.1536, allocations: 2.597 MB / 0.9225 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002106/0.1557, allocations: 1.523 MB / 0.924 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.1574, allocations: 1.56 MB / 0.9256 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.158, allocations: 0.6893 MB / 0.9262 GB, free: 12 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1582, allocations: 168 kB / 0.9264 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.1595, allocations: 0.9786 MB / 0.9273 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.00029/0.1598, allocations: 0.5023 MB / 0.9278 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004204/0.1602, allocations: 0.6001 MB / 0.9284 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.1622, allocations: 2.012 MB / 0.9304 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1622, allocations: 4 kB / 0.9304 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1622, allocations: 0 / 0.9304 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.1622, allocations: 0 / 0.9304 GB, free: 7.723 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.001733/0.164, allocations: 1.948 MB / 0.9323 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.164, allocations: 12.03 kB / 0.9323 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.1657, allocations: 0.6076 MB / 0.9329 GB, free: 5.113 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009141/0.1666, allocations: 0.8198 MB / 0.9337 GB, free: 4.246 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.658e-05/0.1667, allocations: 106.8 kB / 0.9338 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.1668, allocations: 148 kB / 0.9339 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.1679, allocations: 1.514 MB / 0.9354 GB, free: 2.301 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1679, allocations: 3.938 kB / 0.9354 GB, free: 2.297 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.395e-05/0.168, allocations: 63.94 kB / 0.9355 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.168, allocations: 35.98 kB / 0.9355 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/0.1688, allocations: 0.7535 MB / 0.9363 GB, free: 1.43 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.1719, allocations: 2.967 MB / 0.9392 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.1728, allocations: 0.6071 MB / 0.9397 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.173, allocations: 195.8 kB / 0.9399 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002413/0.1732, allocations: 100.9 kB / 0.94 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005232/0.1738, allocations: 0.8009 MB / 0.9408 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=115): time 2.474e-06/0.1738, allocations: 3.938 kB / 0.9408 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.001255/0.175, allocations: 0.7255 MB / 0.9415 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.1751, allocations: 212.8 kB / 0.9417 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.1755, allocations: 0.6458 MB / 0.9424 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.1756, allocations: 61.69 kB / 0.9424 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.1761, allocations: 0.4989 MB / 0.9429 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.1763, allocations: 396.6 kB / 0.9433 GB, free: 9.988 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.1765, allocations: 218.8 kB / 0.9435 GB, free: 9.766 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.456e-05/0.1766, allocations: 353.8 kB / 0.9438 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1767, allocations: 125.4 kB / 0.9439 GB, free: 9.293 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.177, allocations: 427.6 kB / 0.9444 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.1775, allocations: 0.4986 MB / 0.9448 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1775, allocations: 4 kB / 0.9448 GB, free: 8.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0008198/0.1784, allocations: 0.6217 MB / 0.9455 GB, free: 7.617 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1784, allocations: 11.94 kB / 0.9455 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1784, allocations: 0 / 0.9455 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.1788, allocations: 132.7 kB / 0.9456 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006592/0.1794, allocations: 295.5 kB / 0.9459 GB, free: 7.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.1805, allocations: 1.313 MB / 0.9472 GB, free: 5.773 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.1809, allocations: 114.2 kB / 0.9473 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.1809, allocations: 35.97 kB / 0.9473 GB, free: 5.629 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.1812, allocations: 195.2 kB / 0.9475 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.1813, allocations: 111.9 kB / 0.9476 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009958/0.1823, allocations: 0.7832 MB / 0.9484 GB, free: 4.52 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1823, allocations: 12 kB / 0.9484 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1823, allocations: 0 / 0.9484 GB, free: 4.508 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1823, allocations: 11.91 kB / 0.9484 GB, free: 4.496 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.1843, allocations: 1.516 MB / 0.9499 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1843, allocations: 0 / 0.9499 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.1848, allocations: 246.5 kB / 0.9501 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/0.1851, allocations: 112.8 kB / 0.9502 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.1852, allocations: 31.95 kB / 0.9502 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/0.186, allocations: 1.328 MB / 0.9515 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.186, allocations: 3.938 kB / 0.9515 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007621/0.1868, allocations: 0.6975 MB / 0.9522 GB, free: 420 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.187, allocations: 198.8 kB / 0.9524 GB, free: 220 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.1871, allocations: 35.92 kB / 0.9524 GB, free: 184 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.1874, allocations: 51.97 kB / 0.9525 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1875, allocations: 81.14 kB / 0.9526 GB, free: 48 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.1876, allocations: 43.95 kB / 0.9526 GB, free: 4 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002335/0.1878, allocations: 312.5 kB / 0.9529 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.1878, allocations: 4 kB / 0.9529 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007412/0.1886, allocations: 0.5142 MB / 0.9534 GB, free: 15.18 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/0.1902, allocations: 0.8429 MB / 0.9542 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007577/0.1909, allocations: 0.6569 MB / 0.9549 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.1909, allocations: 8 kB / 0.9549 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.1913, allocations: 446.2 kB / 0.9553 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009392/0.1923, allocations: 496.8 kB / 0.9558 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.1952, allocations: 2.162 MB / 0.9579 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1953, allocations: 280.2 kB / 0.9582 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0006223/0.196, allocations: 269.2 kB / 0.9584 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.1968, allocations: 466.8 kB / 0.9589 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of SimCode: time 1.062e-06/0.1968, allocations: 4 kB / 0.9589 GB, free: 9.785 MB / 0.9167 GB Notification: Performance of Templates: time 0.02816/0.225, allocations: 25 MB / 0.9833 GB, free: 1.254 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.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.8864846075885]