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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|senTem.T|senRelHum.phi|senMasFra.X",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.461/2.461, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001496, allocations: 186.7 kB / 491.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.817/1.817, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 95.89 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.877e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3516, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.177/5.528, allocations: 1.907 GB / 3.119 GB, free: 347.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.529, allocations: 86.78 kB / 3.119 GB, free: 347.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.57/7.099, allocations: 404.8 MB / 3.514 GB, free: 294.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.863e-06/7.099, allocations: 0 / 3.514 GB, free: 294.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001366/7.099, allocations: 47.62 kB / 3.515 GB, free: 294.5 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003622/7.103, allocations: 1.608 MB / 3.516 GB, free: 293.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/7.103, allocations: 8.688 kB / 3.516 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002698/7.105, allocations: 396 kB / 3.516 GB, free: 293.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002854/7.108, allocations: 1.161 MB / 3.518 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/7.108, allocations: 53.33 kB / 3.518 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/7.109, allocations: 74.62 kB / 3.518 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002463/7.111, allocations: 1.372 MB / 3.519 GB, free: 293.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/7.113, allocations: 1.2 MB / 3.52 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/7.113, allocations: 0.9688 kB / 3.52 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/7.113, allocations: 9.922 kB / 3.52 GB, free: 293.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/7.113, allocations: 34.56 kB / 3.52 GB, free: 293.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007533/7.121, allocations: 4.618 MB / 3.525 GB, free: 291.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/7.123, allocations: 1.334 MB / 3.526 GB, free: 290.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/7.124, allocations: 408 kB / 3.526 GB, free: 290.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/7.125, allocations: 427.6 kB / 3.527 GB, free: 290.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009482/7.125, allocations: 0.5661 MB / 3.527 GB, free: 290.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 2.815e-06/7.125, allocations: 0 / 3.527 GB, free: 290.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003095/7.129, allocations: 1.052 MB / 3.528 GB, free: 290.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/7.129, allocations: 242.9 kB / 3.529 GB, free: 290.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/7.13, allocations: 0.6204 MB / 3.529 GB, free: 290 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/7.13, allocations: 27.83 kB / 3.529 GB, free: 289.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005173/7.13, allocations: 0.574 MB / 3.53 GB, free: 289.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/7.131, allocations: 311.8 kB / 3.53 GB, free: 289.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/7.131, allocations: 0 / 3.53 GB, free: 289.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.253e-05/7.131, allocations: 343.1 kB / 3.531 GB, free: 289.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/7.131, allocations: 312 kB / 3.531 GB, free: 289.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/7.132, allocations: 0.4921 MB / 3.531 GB, free: 289.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/7.133, allocations: 492.7 kB / 3.532 GB, free: 289 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/7.133, allocations: 0 / 3.532 GB, free: 289 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002554/7.136, allocations: 1.087 MB / 3.533 GB, free: 288.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/7.136, allocations: 10.27 kB / 3.533 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/7.136, allocations: 2.281 kB / 3.533 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/7.136, allocations: 86.12 kB / 3.533 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/7.137, allocations: 230.5 kB / 3.533 GB, free: 288.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/7.139, allocations: 1.48 MB / 3.535 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/7.14, allocations: 99.03 kB / 3.535 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/7.14, allocations: 43.98 kB / 3.535 GB, free: 287.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002514/7.14, allocations: 124.1 kB / 3.535 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/7.141, allocations: 108.9 kB / 3.535 GB, free: 287.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/7.144, allocations: 1.322 MB / 3.536 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/7.144, allocations: 14.55 kB / 3.536 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/7.144, allocations: 0 / 3.536 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/7.144, allocations: 6.984 kB / 3.536 GB, free: 287.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004154/7.148, allocations: 2.522 MB / 3.539 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/7.148, allocations: 0 / 3.539 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/7.149, allocations: 222.6 kB / 3.539 GB, free: 287.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/7.149, allocations: 78.66 kB / 3.539 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/7.149, allocations: 21.81 kB / 3.539 GB, free: 287 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/7.151, allocations: 1.492 MB / 3.54 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/7.151, allocations: 7.062 kB / 3.54 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/7.153, allocations: 1.217 MB / 3.542 GB, free: 285.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005528/7.153, allocations: 346.9 kB / 3.542 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/7.154, allocations: 3.969 kB / 3.542 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008491/7.154, allocations: 86.27 kB / 3.542 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/7.155, allocations: 73.17 kB / 3.542 GB, free: 285.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/7.155, allocations: 49.61 kB / 3.542 GB, free: 285.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000606/7.155, allocations: 496.3 kB / 3.543 GB, free: 285.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.2e-07/7.155, allocations: 0 / 3.543 GB, free: 285.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001784/7.157, allocations: 0.556 MB / 3.543 GB, free: 285.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002786/7.16, allocations: 2.004 MB / 3.545 GB, free: 284.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001515/7.161, allocations: 0.9467 MB / 3.546 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/7.162, allocations: 5.875 kB / 3.546 GB, free: 284.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/7.162, allocations: 0.5918 MB / 3.547 GB, free: 284.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/7.164, allocations: 373.1 kB / 3.547 GB, free: 284.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/7.168, allocations: 1.781 MB / 3.549 GB, free: 284.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/7.169, allocations: 1.206 MB / 3.55 GB, free: 283.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00144/7.17, allocations: 369.1 kB / 3.55 GB, free: 283.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/7.17, allocations: 119.6 kB / 3.55 GB, free: 283.4 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/7.17, allocations: 0 / 3.55 GB, free: 283.4 MB / 1.151 GB Notification: Performance of Templates: time 0.0446/7.215, allocations: 27.1 MB / 3.577 GB, free: 282.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches