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.001434/0.001434, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001603/0.001603, allocations: 169 kB / 24.28 MB, free: 276 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.9835/0.9835, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.777/1.777, allocations: 359 MB / 0.6055 GB, free: 11 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.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.423e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1637/0.1637, allocations: 173.1 MB / 0.9561 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.1772, allocations: 13.17 MB / 0.9689 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1784, allocations: 47.56 kB / 0.969 GB, free: 1.789 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1796, allocations: 484.2 kB / 0.9695 GB, free: 1.312 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.182, allocations: 1.095 MB / 0.9705 GB, free: 216 kB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.1858, allocations: 1.931 MB / 0.9724 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.1886, allocations: 2.644 MB / 0.975 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.1903, allocations: 1.322 MB / 0.9763 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.194, allocations: 2.007 MB / 0.9782 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.1954, allocations: 0.7361 MB / 0.979 GB, free: 7.582 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.1956, allocations: 183.9 kB / 0.9791 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.1979, allocations: 1.298 MB / 0.9804 GB, free: 6.102 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.1983, allocations: 0.5179 MB / 0.9809 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006838/0.199, allocations: 0.6235 MB / 0.9815 GB, free: 4.957 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/0.2027, allocations: 2.231 MB / 0.9837 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2027, allocations: 0 / 0.9837 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2027, allocations: 0 / 0.9837 GB, free: 2.719 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.906e-05/0.2027, allocations: 4 kB / 0.9837 GB, free: 2.715 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.002654/0.2054, allocations: 2.129 MB / 0.9858 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.2054, allocations: 12.03 kB / 0.9858 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.2075, allocations: 0.6457 MB / 0.9864 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.2088, allocations: 1.01 MB / 0.9874 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.2089, allocations: 102.8 kB / 0.9875 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.209, allocations: 156 kB / 0.9877 GB, free: 14.58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.2108, allocations: 1.688 MB / 0.9893 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.2109, allocations: 3.938 kB / 0.9893 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.211, allocations: 67.98 kB / 0.9894 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.211, allocations: 32 kB / 0.9894 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.2123, allocations: 1.034 MB / 0.9904 GB, free: 11.53 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.005083/0.2174, allocations: 4.146 MB / 0.9945 GB, free: 7.285 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.2187, allocations: 0.7539 MB / 0.9952 GB, free: 6.531 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.2191, allocations: 266.5 kB / 0.9954 GB, free: 6.266 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.2194, allocations: 116.9 kB / 0.9956 GB, free: 6.152 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007822/0.2202, allocations: 0.8786 MB / 0.9964 GB, free: 5.164 MB / 0.948 GB Notification: Performance of pre-optimization done (n=115): time 2.695e-06/0.2202, allocations: 0 / 0.9964 GB, free: 5.164 MB / 0.948 GB Notification: Performance of matching and sorting (n=115): time 0.002271/0.2225, allocations: 1.124 MB / 0.9975 GB, free: 4.031 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.2226, allocations: 196.9 kB / 0.9977 GB, free: 3.797 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/0.2233, allocations: 0.7259 MB / 0.9984 GB, free: 3.055 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.2233, allocations: 57.7 kB / 0.9985 GB, free: 2.992 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000515/0.2239, allocations: 0.66 MB / 0.9991 GB, free: 2.324 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.2241, allocations: 392.7 kB / 0.9995 GB, free: 1.938 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.2243, allocations: 236.5 kB / 0.9997 GB, free: 1.695 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2245, allocations: 0.5237 MB / 1 GB, free: 1.164 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.2248, allocations: 202.5 kB / 1 GB, free: 0.9688 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.2254, allocations: 0.6101 MB / 1.001 GB, free: 248 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.2262, allocations: 0.6297 MB / 1.002 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.2262, allocations: 0 / 1.002 GB, free: 15.55 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001472/0.2277, allocations: 0.9331 MB / 1.003 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.2277, allocations: 4 kB / 1.003 GB, free: 14.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.2277, allocations: 4.406 kB / 1.003 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.2282, allocations: 139.5 kB / 1.003 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.2288, allocations: 267.7 kB / 1.003 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.2305, allocations: 1.927 MB / 1.005 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.2312, allocations: 107.4 kB / 1.005 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.2313, allocations: 55.97 kB / 1.005 GB, free: 11.98 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.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.0005691/0.2318, allocations: 243 kB / 1.005 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.2321, allocations: 155.2 kB / 1.005 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.2341, allocations: 1.098 MB / 1.006 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.2342, allocations: 16 kB / 1.006 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2342, allocations: 0 / 1.006 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2342, allocations: 3.984 kB / 1.006 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00332/0.2375, allocations: 2.182 MB / 1.009 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.2375, allocations: 0 / 1.009 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.238, allocations: 223.7 kB / 1.009 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003877/0.2384, allocations: 115.6 kB / 1.009 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.763e-05/0.2385, allocations: 35.97 kB / 1.009 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.2398, allocations: 1.918 MB / 1.011 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2398, allocations: 7.922 kB / 1.011 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2414, allocations: 1.092 MB / 1.012 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.2418, allocations: 278.7 kB / 1.012 GB, free: 4.391 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.2419, allocations: 28 kB / 1.012 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/0.2423, allocations: 62.2 kB / 1.012 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.2424, allocations: 93.12 kB / 1.012 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.2425, allocations: 47.97 kB / 1.012 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006154/0.2431, allocations: 478.9 kB / 1.013 GB, free: 3.703 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2431, allocations: 3.938 kB / 1.013 GB, free: 3.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001176/0.2443, allocations: 0.5298 MB / 1.013 GB, free: 3.168 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.001556/0.2458, allocations: 0.7245 MB / 1.014 GB, free: 2.617 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.2473, allocations: 0.8627 MB / 1.015 GB, free: 1.738 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2473, allocations: 4 kB / 1.015 GB, free: 1.734 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.248, allocations: 0.5736 MB / 1.015 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.2493, allocations: 494.5 kB / 1.016 GB, free: 0.6758 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.2529, allocations: 2.202 MB / 1.018 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001966/0.2531, allocations: 280.2 kB / 1.018 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.000923/0.254, allocations: 357 kB / 1.019 GB, free: 13.78 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.2543, allocations: 140.4 kB / 1.019 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of SimCode: time 2.274e-06/0.2543, allocations: 0 / 1.019 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of Templates: time 0.03091/0.2852, allocations: 23.39 MB / 1.042 GB, free: 6.676 MB / 0.9948 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.365190393989906]