Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001023/0.001023, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001224/0.001224, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9429/0.9429, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.819/1.819, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.656e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1535/0.1535, allocations: 150.2 MB / 0.9338 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.01257/0.166, allocations: 11.25 MB / 0.9448 GB, free: 10.51 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/0.1673, allocations: 47.62 kB / 0.9448 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0009771/0.1683, allocations: 349 kB / 0.9451 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.1709, allocations: 1.083 MB / 0.9462 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.174, allocations: 1.511 MB / 0.9477 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.1772, allocations: 2.624 MB / 0.9502 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002058/0.1793, allocations: 1.33 MB / 0.9515 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.1836, allocations: 1.675 MB / 0.9532 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.1847, allocations: 0.7478 MB / 0.9539 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0002478/0.1849, allocations: 180 kB / 0.9541 GB, free: 0.9766 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001946/0.1869, allocations: 0.9513 MB / 0.955 GB, free: 24 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004071/0.1873, allocations: 0.5218 MB / 0.9555 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.188, allocations: 0.6157 MB / 0.9561 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.1914, allocations: 2.048 MB / 0.9581 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1914, allocations: 4 kB / 0.9581 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1914, allocations: 0 / 0.9581 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.089e-05/0.1914, allocations: 0 / 0.9581 GB, free: 12.82 MB / 0.9167 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.00277/0.1942, allocations: 2.121 MB / 0.9602 GB, free: 10.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1942, allocations: 8.031 kB / 0.9602 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/0.1962, allocations: 0.6418 MB / 0.9608 GB, free: 10 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.1975, allocations: 1.002 MB / 0.9618 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.1976, allocations: 106.8 kB / 0.9619 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.1978, allocations: 152 kB / 0.962 GB, free: 8.707 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.1995, allocations: 1.696 MB / 0.9637 GB, free: 6.793 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.1995, allocations: 4 kB / 0.9637 GB, free: 6.789 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/0.1996, allocations: 63.94 kB / 0.9638 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.1996, allocations: 32 kB / 0.9638 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.2009, allocations: 1.038 MB / 0.9648 GB, free: 5.648 MB / 0.9167 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.004805/0.2057, allocations: 4.15 MB / 0.9689 GB, free: 1.398 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.2082, allocations: 0.7663 MB / 0.9696 GB, free: 0.625 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.2088, allocations: 262.5 kB / 0.9699 GB, free: 372 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004903/0.2093, allocations: 96.91 kB / 0.97 GB, free: 276 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.2105, allocations: 0.863 MB / 0.9708 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=115): time 4.779e-06/0.2105, allocations: 0 / 0.9708 GB, free: 15.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115): time 0.003688/0.2142, allocations: 1.12 MB / 0.9719 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.2143, allocations: 208.8 kB / 0.9721 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009912/0.2153, allocations: 0.7297 MB / 0.9728 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.2154, allocations: 53.7 kB / 0.9729 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.2159, allocations: 0.6561 MB / 0.9735 GB, free: 12.46 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.2162, allocations: 396.7 kB / 0.9739 GB, free: 12.07 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.2164, allocations: 240.5 kB / 0.9741 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.2166, allocations: 0.5238 MB / 0.9746 GB, free: 11.29 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.2169, allocations: 198.5 kB / 0.9748 GB, free: 11.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.2175, allocations: 0.6063 MB / 0.9754 GB, free: 10.38 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.2183, allocations: 0.6258 MB / 0.976 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.2183, allocations: 4 kB / 0.976 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001533/0.2199, allocations: 0.9372 MB / 0.9769 GB, free: 8.742 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2199, allocations: 11.98 kB / 0.9769 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2199, allocations: 4 kB / 0.9769 GB, free: 8.727 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.2206, allocations: 131.7 kB / 0.9771 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.2213, allocations: 275.6 kB / 0.9773 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.223, allocations: 1.901 MB / 0.9792 GB, free: 6.293 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.2236, allocations: 123.2 kB / 0.9793 GB, free: 6.172 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.2237, allocations: 55.97 kB / 0.9794 GB, free: 6.117 MB / 0.9323 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.0005448/0.2242, allocations: 231.2 kB / 0.9796 GB, free: 5.879 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.2245, allocations: 159.2 kB / 0.9797 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.2265, allocations: 1.083 MB / 0.9808 GB, free: 4.625 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.2265, allocations: 16 kB / 0.9808 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2265, allocations: 4 kB / 0.9808 GB, free: 4.605 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.2265, allocations: 11.97 kB / 0.9808 GB, free: 4.594 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.2296, allocations: 2.189 MB / 0.983 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.2296, allocations: 0 / 0.983 GB, free: 2.344 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005248/0.2301, allocations: 215.7 kB / 0.9832 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/0.2305, allocations: 123.5 kB / 0.9833 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.2306, allocations: 39.97 kB / 0.9833 GB, free: 1.969 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.2319, allocations: 1.914 MB / 0.9852 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2319, allocations: 0 / 0.9852 GB, free: 15.93 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.2334, allocations: 1.092 MB / 0.9862 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004135/0.2338, allocations: 278.7 kB / 0.9865 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.2339, allocations: 31.98 kB / 0.9865 GB, free: 14.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.2343, allocations: 62.83 kB / 0.9866 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.2344, allocations: 89.14 kB / 0.9867 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/0.2345, allocations: 55.89 kB / 0.9867 GB, free: 14.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004393/0.2349, allocations: 474.9 kB / 0.9872 GB, free: 13.85 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.2349, allocations: 3.938 kB / 0.9872 GB, free: 13.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00141/0.2363, allocations: 0.5259 MB / 0.9877 GB, free: 13.32 MB / 0.948 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.001523/0.2379, allocations: 0.7113 MB / 0.9884 GB, free: 12.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.2393, allocations: 0.8667 MB / 0.9893 GB, free: 11.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.2393, allocations: 0 / 0.9893 GB, free: 11.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.2399, allocations: 0.5774 MB / 0.9898 GB, free: 11.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.2411, allocations: 488.8 kB / 0.9903 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.2445, allocations: 2.2 MB / 0.9924 GB, free: 8.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2447, allocations: 276.3 kB / 0.9927 GB, free: 8.297 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008643/0.2455, allocations: 353 kB / 0.993 GB, free: 7.949 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2458, allocations: 148.4 kB / 0.9932 GB, free: 7.805 MB / 0.948 GB Notification: Performance of SimCode: time 1.733e-06/0.2458, allocations: 0 / 0.9932 GB, free: 7.805 MB / 0.948 GB Notification: Performance of Templates: time 0.03044/0.2763, allocations: 23.12 MB / 1.016 GB, free: 1.105 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.094082195311785]