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.001066/0.001066, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001131/0.001131, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.003/1.003, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.879/1.879, allocations: 377.8 MB / 0.6236 GB, free: 8.566 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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.616e-05, allocations: 3.906 kB / 0.8115 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1516/0.1516, allocations: 150.2 MB / 0.9582 GB, free: 9.871 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1631, allocations: 11.25 MB / 0.9692 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008161/0.1639, allocations: 43.62 kB / 0.9693 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008677/0.1647, allocations: 352.9 kB / 0.9696 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1668, allocations: 1.076 MB / 0.9707 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1693, allocations: 1.523 MB / 0.9721 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.1714, allocations: 2.617 MB / 0.9747 GB, free: 8.961 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.1729, allocations: 1.322 MB / 0.976 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.1753, allocations: 1.671 MB / 0.9776 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.1761, allocations: 0.7361 MB / 0.9783 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.1763, allocations: 180 kB / 0.9785 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.1776, allocations: 0.9513 MB / 0.9794 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.1779, allocations: 0.5257 MB / 0.98 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.1784, allocations: 0.6157 MB / 0.9806 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.1805, allocations: 2.04 MB / 0.9825 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1805, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1806, allocations: 0 / 0.9826 GB, free: 0.9336 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.134e-05/0.1806, allocations: 0 / 0.9826 GB, free: 0.9336 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.002267/0.1828, allocations: 2.113 MB / 0.9846 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1829, allocations: 12.02 kB / 0.9846 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.1846, allocations: 0.6418 MB / 0.9853 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1857, allocations: 1.006 MB / 0.9862 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-05/0.1858, allocations: 110.8 kB / 0.9863 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001362/0.1859, allocations: 148 kB / 0.9865 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.1875, allocations: 1.696 MB / 0.9881 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.1875, allocations: 0 / 0.9881 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.1876, allocations: 67.69 kB / 0.9882 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.1876, allocations: 32 kB / 0.9882 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1889, allocations: 1.034 MB / 0.9892 GB, free: 9.766 MB / 0.9011 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.00411/0.193, allocations: 4.161 MB / 0.9933 GB, free: 5.508 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.1942, allocations: 0.7628 MB / 0.9941 GB, free: 4.746 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003649/0.1945, allocations: 267.1 kB / 0.9943 GB, free: 4.484 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.1948, allocations: 92.91 kB / 0.9944 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007296/0.1955, allocations: 0.8787 MB / 0.9953 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=115): time 2.164e-06/0.1955, allocations: 0 / 0.9953 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.001991/0.1975, allocations: 1.12 MB / 0.9963 GB, free: 2.273 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.1976, allocations: 196.9 kB / 0.9965 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.1982, allocations: 0.7259 MB / 0.9972 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.748e-05/0.1983, allocations: 53.7 kB / 0.9973 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/0.1987, allocations: 0.6678 MB / 0.9979 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.1989, allocations: 388.7 kB / 0.9983 GB, free: 184 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.1991, allocations: 232.5 kB / 0.9985 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.1993, allocations: 0.5238 MB / 0.9991 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.1996, allocations: 202.5 kB / 0.9992 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.2001, allocations: 0.6062 MB / 0.9998 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007876/0.2009, allocations: 0.6258 MB / 1 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2009, allocations: 0 / 1 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0014/0.2023, allocations: 0.9408 MB / 1.001 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2023, allocations: 8.406 kB / 1.001 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2023, allocations: 4 kB / 1.001 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004921/0.2028, allocations: 131.5 kB / 1.002 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006203/0.2035, allocations: 275.6 kB / 1.002 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.2048, allocations: 1.914 MB / 1.004 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.2052, allocations: 113.7 kB / 1.004 GB, free: 10.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.2053, allocations: 51.97 kB / 1.004 GB, free: 10.24 MB / 0.9167 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002874/0.2056, allocations: 239.1 kB / 1.004 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.2058, allocations: 155.3 kB / 1.004 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2072, allocations: 1.09 MB / 1.005 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.2073, allocations: 15.94 kB / 1.005 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2073, allocations: 0 / 1.005 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2073, allocations: 3.984 kB / 1.005 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.2099, allocations: 2.182 MB / 1.007 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2099, allocations: 4 kB / 1.007 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.2104, allocations: 215.8 kB / 1.008 GB, free: 6.262 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003564/0.2108, allocations: 123.5 kB / 1.008 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/0.2108, allocations: 31.97 kB / 1.008 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.212, allocations: 1.921 MB / 1.01 GB, free: 4.055 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.212, allocations: 4.031 kB / 1.01 GB, free: 4.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.2133, allocations: 1.088 MB / 1.011 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.2137, allocations: 274.7 kB / 1.011 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.098e-05/0.2138, allocations: 32 kB / 1.011 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2141, allocations: 55.95 kB / 1.011 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.2143, allocations: 101.1 kB / 1.011 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.2143, allocations: 51.97 kB / 1.011 GB, free: 2.43 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003929/0.2147, allocations: 474.9 kB / 1.012 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2147, allocations: 0 / 1.012 GB, free: 1.969 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009147/0.2157, allocations: 0.522 MB / 1.012 GB, free: 1.445 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.001386/0.217, allocations: 0.7153 MB / 1.013 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.2182, allocations: 0.8744 MB / 1.014 GB, free: 8 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2182, allocations: 4 kB / 1.014 GB, free: 4 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.2188, allocations: 0.5697 MB / 1.014 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.2199, allocations: 492 kB / 1.015 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.223, allocations: 2.207 MB / 1.017 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2231, allocations: 280.3 kB / 1.017 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006979/0.2238, allocations: 353 kB / 1.017 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.2241, allocations: 140.4 kB / 1.018 GB, free: 11.92 MB / 0.9323 GB Notification: Performance of SimCode: time 1.483e-06/0.2241, allocations: 4 kB / 1.018 GB, free: 11.91 MB / 0.9323 GB Notification: Performance of Templates: time 0.4237/0.6478, allocations: 23.13 MB / 1.04 GB, free: 81.29 MB / 0.9323 GB " [Timeout remaining time 299] 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.662037143949419]