Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001457/0.001457, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001039/0.001039, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9962/0.9962, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.017/2.017, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.696e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1394/0.1394, allocations: 173.1 MB / 1.047 GB, free: 8.984 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4169/0.5563, allocations: 13.15 MB / 1.06 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.5576, allocations: 41.59 kB / 1.06 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.5587, allocations: 479.3 kB / 1.061 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.5609, allocations: 1.091 MB / 1.062 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.5638, allocations: 1.926 MB / 1.063 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.5658, allocations: 2.604 MB / 1.066 GB, free: 47.56 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.567, allocations: 1.255 MB / 1.067 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.5699, allocations: 2.14 MB / 1.069 GB, free: 47.28 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.5706, allocations: 0.7297 MB / 1.07 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001598/0.5707, allocations: 182.6 kB / 1.07 GB, free: 47.2 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001744/0.5725, allocations: 1.301 MB / 1.071 GB, free: 47.11 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002842/0.5728, allocations: 0.5233 MB / 1.072 GB, free: 47.04 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004632/0.5732, allocations: 0.6121 MB / 1.073 GB, free: 46.97 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.5755, allocations: 2.22 MB / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5755, allocations: 0.9375 kB / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5755, allocations: 0 / 1.075 GB, free: 46.69 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.5755, allocations: 0.9375 kB / 1.075 GB, free: 46.69 MB / 1.01 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.002026/0.5775, allocations: 2.137 MB / 1.077 GB, free: 45.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.5776, allocations: 9.25 kB / 1.077 GB, free: 45.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.5794, allocations: 0.6453 MB / 1.077 GB, free: 45.41 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5804, allocations: 0.9951 MB / 1.078 GB, free: 45.09 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.558e-05/0.5805, allocations: 106.5 kB / 1.079 GB, free: 45.09 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.5806, allocations: 154.9 kB / 1.079 GB, free: 45.09 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/0.582, allocations: 1.699 MB / 1.08 GB, free: 44.17 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.582, allocations: 3.625 kB / 1.08 GB, free: 44.17 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.5821, allocations: 60.16 kB / 1.08 GB, free: 44.17 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.5821, allocations: 33.38 kB / 1.08 GB, free: 44.17 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5833, allocations: 1.03 MB / 1.081 GB, free: 44.15 MB / 1.01 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.003479/0.5867, allocations: 4.155 MB / 1.086 GB, free: 42.32 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.5878, allocations: 0.7715 MB / 1.086 GB, free: 42.26 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/0.5882, allocations: 263.9 kB / 1.087 GB, free: 42.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/0.5885, allocations: 111.4 kB / 1.087 GB, free: 42.25 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006216/0.5891, allocations: 0.8692 MB / 1.087 GB, free: 41.73 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 2.555e-06/0.5891, allocations: 0 / 1.087 GB, free: 41.73 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.001876/0.591, allocations: 1.113 MB / 1.089 GB, free: 41.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.591, allocations: 199 kB / 1.089 GB, free: 41.38 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.5915, allocations: 0.7264 MB / 1.089 GB, free: 41.18 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.825e-05/0.5916, allocations: 54.98 kB / 1.09 GB, free: 41.14 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.5919, allocations: 0.6577 MB / 1.09 GB, free: 40.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.592, allocations: 399.6 kB / 1.091 GB, free: 40.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.5922, allocations: 236.5 kB / 1.091 GB, free: 40.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.5923, allocations: 0.5232 MB / 1.091 GB, free: 40.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.5927, allocations: 198.3 kB / 1.091 GB, free: 40.04 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.5932, allocations: 0.6016 MB / 1.092 GB, free: 39.6 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008247/0.5941, allocations: 0.6318 MB / 1.093 GB, free: 39.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.5941, allocations: 1.781 kB / 1.093 GB, free: 39.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001421/0.5955, allocations: 0.9394 MB / 1.094 GB, free: 39.28 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5955, allocations: 9.516 kB / 1.094 GB, free: 39.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5955, allocations: 4.719 kB / 1.094 GB, free: 39.28 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.596, allocations: 130.3 kB / 1.094 GB, free: 39.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/0.5966, allocations: 272 kB / 1.094 GB, free: 39.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.5977, allocations: 1.918 MB / 1.096 GB, free: 37.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.5981, allocations: 112.6 kB / 1.096 GB, free: 37.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.5982, allocations: 51.55 kB / 1.096 GB, free: 37.46 MB / 1.01 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.0002557/0.5985, allocations: 240.8 kB / 1.096 GB, free: 37.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.5986, allocations: 154.3 kB / 1.096 GB, free: 37.23 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.6002, allocations: 1.088 MB / 1.097 GB, free: 37.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6002, allocations: 12.97 kB / 1.097 GB, free: 37.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.6002, allocations: 1.125 kB / 1.097 GB, free: 37.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.6002, allocations: 6.766 kB / 1.097 GB, free: 37.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.6027, allocations: 2.172 MB / 1.1 GB, free: 36.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.6028, allocations: 1.062 kB / 1.1 GB, free: 36.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.6033, allocations: 214.4 kB / 1.1 GB, free: 36.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003467/0.6036, allocations: 121.1 kB / 1.1 GB, free: 36.64 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.6037, allocations: 37.8 kB / 1.1 GB, free: 36.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008696/0.6045, allocations: 1.924 MB / 1.102 GB, free: 34.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6045, allocations: 1.25 kB / 1.102 GB, free: 34.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.6059, allocations: 1.09 MB / 1.103 GB, free: 34.58 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000422/0.6063, allocations: 272.2 kB / 1.103 GB, free: 34.5 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.6064, allocations: 24.19 kB / 1.103 GB, free: 34.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.6068, allocations: 61.02 kB / 1.103 GB, free: 34.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.607, allocations: 94.88 kB / 1.103 GB, free: 34.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.607, allocations: 55 kB / 1.103 GB, free: 34.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004163/0.6074, allocations: 468.5 kB / 1.104 GB, free: 34.36 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6074, allocations: 1.344 kB / 1.104 GB, free: 34.36 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001003/0.6084, allocations: 0.5313 MB / 1.104 GB, free: 34.25 MB / 1.01 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 (125): * Single equations (assignments): 114 * 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.00139/0.6098, allocations: 0.7272 MB / 1.105 GB, free: 34.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001215/0.6111, allocations: 0.8639 MB / 1.106 GB, free: 33.83 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6111, allocations: 2.531 kB / 1.106 GB, free: 33.83 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.6117, allocations: 0.5716 MB / 1.106 GB, free: 33.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6128, allocations: 486.4 kB / 1.107 GB, free: 33.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.6157, allocations: 2.191 MB / 1.109 GB, free: 32.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.6159, allocations: 277.8 kB / 1.109 GB, free: 32.49 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007962/0.6167, allocations: 349.5 kB / 1.11 GB, free: 32.43 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.617, allocations: 141.9 kB / 1.11 GB, free: 32.43 MB / 1.01 GB Notification: Performance of SimCode: time 6.01e-07/0.617, allocations: 1.156 kB / 1.11 GB, free: 32.43 MB / 1.01 GB Notification: Performance of Templates: time 0.02915/0.6461, allocations: 23.17 MB / 1.132 GB, free: 29.93 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.528781631030142]