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.001478/0.001478, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001535/0.001535, allocations: 181 kB / 24.09 MB, free: 416 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.9266/0.9266, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.793/1.793, allocations: 377.9 MB / 0.6239 GB, free: 8.402 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.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.363e-06/1.363e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.159e-05, allocations: 6.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1189/0.1189, allocations: 147.4 MB / 0.956 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.1299, allocations: 11.1 MB / 0.9668 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009706/0.1309, allocations: 43.62 kB / 0.9668 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008434/0.1317, allocations: 349 kB / 0.9672 GB, free: 2.047 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.1339, allocations: 1.087 MB / 0.9682 GB, free: 0.9531 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1364, allocations: 1.511 MB / 0.9697 GB, free: 15.44 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00236/0.1388, allocations: 2.621 MB / 0.9723 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1404, allocations: 1.322 MB / 0.9736 GB, free: 11.42 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002742/0.1431, allocations: 1.712 MB / 0.9752 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009483/0.1441, allocations: 0.701 MB / 0.9759 GB, free: 9.094 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.1443, allocations: 172 kB / 0.9761 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.146, allocations: 0.9396 MB / 0.977 GB, free: 7.984 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.1463, allocations: 0.5023 MB / 0.9775 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006419/0.147, allocations: 0.5963 MB / 0.9781 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.1499, allocations: 2.012 MB / 0.98 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1499, allocations: 4 kB / 0.98 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1499, allocations: 0 / 0.98 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 7.159e-05/0.1499, allocations: 0 / 0.98 GB, free: 4.859 MB / 0.9323 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.002387/0.1523, allocations: 2.117 MB / 0.9821 GB, free: 2.691 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1524, allocations: 8.031 kB / 0.9821 GB, free: 2.684 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.1542, allocations: 0.6418 MB / 0.9827 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.1553, allocations: 0.9876 MB / 0.9837 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.982e-05/0.1553, allocations: 102.8 kB / 0.9838 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1555, allocations: 152 kB / 0.9839 GB, free: 0.7656 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.1567, allocations: 1.533 MB / 0.9854 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.1568, allocations: 0 / 0.9854 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.1569, allocations: 75.8 kB / 0.9855 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1569, allocations: 32 kB / 0.9855 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000891/0.1578, allocations: 0.8747 MB / 0.9864 GB, free: 14.04 MB / 0.948 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.003803/0.1616, allocations: 3.925 MB / 0.9902 GB, free: 10.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.1625, allocations: 0.69 MB / 0.9909 GB, free: 9.332 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.1627, allocations: 230.5 kB / 0.9911 GB, free: 9.105 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.163, allocations: 124.7 kB / 0.9912 GB, free: 8.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006111/0.1636, allocations: 0.8239 MB / 0.992 GB, free: 8.047 MB / 0.948 GB Notification: Performance of pre-optimization done (n=115): time 2.374e-06/0.1636, allocations: 3.938 kB / 0.992 GB, free: 8.043 MB / 0.948 GB Notification: Performance of matching and sorting (n=115): time 0.001634/0.1652, allocations: 0.995 MB / 0.993 GB, free: 7.039 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1653, allocations: 204.8 kB / 0.9932 GB, free: 6.797 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1658, allocations: 0.702 MB / 0.9939 GB, free: 6.082 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.1659, allocations: 57.7 kB / 0.994 GB, free: 6.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.1663, allocations: 0.6598 MB / 0.9946 GB, free: 5.352 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.1665, allocations: 396.5 kB / 0.995 GB, free: 4.961 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.1667, allocations: 248.4 kB / 0.9952 GB, free: 4.711 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1668, allocations: 0.5237 MB / 0.9957 GB, free: 4.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.167, allocations: 150.5 kB / 0.9959 GB, free: 4.031 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.1674, allocations: 0.4901 MB / 0.9964 GB, free: 3.445 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.1679, allocations: 0.5476 MB / 0.9969 GB, free: 2.844 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.168, allocations: 0 / 0.9969 GB, free: 2.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001069/0.169, allocations: 0.8514 MB / 0.9977 GB, free: 1.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.169, allocations: 4 kB / 0.9977 GB, free: 1.977 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.169, allocations: 4 kB / 0.9977 GB, free: 1.973 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/0.1695, allocations: 127.6 kB / 0.9978 GB, free: 1.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.17, allocations: 279.6 kB / 0.9981 GB, free: 1.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.1712, allocations: 1.88 MB / 0.9999 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.1716, allocations: 107.3 kB / 1 GB, free: 15.47 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.1717, allocations: 43.97 kB / 1 GB, free: 15.43 MB / 0.9636 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.0002727/0.172, allocations: 242.9 kB / 1 GB, free: 15.18 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.1721, allocations: 159.3 kB / 1 GB, free: 15.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1734, allocations: 0.985 MB / 1.001 GB, free: 14.02 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1734, allocations: 16 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1734, allocations: 3.938 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1734, allocations: 3.984 kB / 1.001 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.1755, allocations: 1.928 MB / 1.003 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1755, allocations: 7.938 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.176, allocations: 211.8 kB / 1.004 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/0.1763, allocations: 119.6 kB / 1.004 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.1764, allocations: 31.97 kB / 1.004 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.1774, allocations: 1.898 MB / 1.006 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1774, allocations: 0 / 1.006 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1784, allocations: 1.01 MB / 1.007 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003075/0.1787, allocations: 254.8 kB / 1.007 GB, free: 8.34 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.1788, allocations: 31.94 kB / 1.007 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.1792, allocations: 51.95 kB / 1.007 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1793, allocations: 89.14 kB / 1.007 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/0.1793, allocations: 39.97 kB / 1.007 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002918/0.1796, allocations: 442.7 kB / 1.007 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1796, allocations: 4 kB / 1.007 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0009853/0.1806, allocations: 0.5181 MB / 1.008 GB, free: 7.184 MB / 0.9636 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.001332/0.1819, allocations: 0.7049 MB / 1.009 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0009277/0.1829, allocations: 0.7799 MB / 1.009 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1829, allocations: 0 / 1.009 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.1833, allocations: 0.5352 MB / 1.01 GB, free: 5.297 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1844, allocations: 495 kB / 1.01 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.1874, allocations: 2.179 MB / 1.012 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.1876, allocations: 272.3 kB / 1.013 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007707/0.1883, allocations: 273.2 kB / 1.013 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008889/0.1892, allocations: 0.5408 MB / 1.014 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of SimCode: time 1.392e-06/0.1892, allocations: 0 / 1.014 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of Templates: time 0.02876/0.218, allocations: 24.99 MB / 1.038 GB, free: 9 MB / 0.9948 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 -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: 6.1757804290391505]