Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.585/2.585, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001259/0.001259, allocations: 165.2 kB / 498.1 MB, free: 5.77 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.555/1.555, allocations: 223.2 MB / 0.7948 GB, free: 18 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.001059/0.001059, allocations: 95.56 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003946, allocations: 13.69 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2895, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.371/4.661, allocations: 1.907 GB / 3.13 GB, free: 107.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/4.661, allocations: 91.95 kB / 3.13 GB, free: 107.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.553/6.214, allocations: 410 MB / 3.53 GB, free: 163.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/6.214, allocations: 0 / 3.53 GB, free: 163.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001227/6.214, allocations: 35.94 kB / 3.53 GB, free: 163.2 MB / 1.167 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.004041/6.218, allocations: 1.786 MB / 3.532 GB, free: 161.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/6.218, allocations: 12.03 kB / 3.532 GB, free: 161.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/6.221, allocations: 389.7 kB / 3.532 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/6.224, allocations: 1.18 MB / 3.533 GB, free: 159.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/6.224, allocations: 98.62 kB / 3.533 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/6.224, allocations: 128 kB / 3.534 GB, free: 159.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/6.227, allocations: 1.441 MB / 3.535 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/6.227, allocations: 3.984 kB / 3.535 GB, free: 158 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/6.227, allocations: 63.95 kB / 3.535 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/6.227, allocations: 32 kB / 3.535 GB, free: 157.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002304/6.229, allocations: 1.528 MB / 3.537 GB, free: 156.4 MB / 1.167 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.007047/6.236, allocations: 4.885 MB / 3.541 GB, free: 151.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/6.239, allocations: 1.468 MB / 3.543 GB, free: 149.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/6.239, allocations: 425.4 kB / 3.543 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009757/6.24, allocations: 0.6334 MB / 3.544 GB, free: 148.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 2.415e-06/6.24, allocations: 0 / 3.544 GB, free: 148.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.003887/6.244, allocations: 1.591 MB / 3.545 GB, free: 146.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/6.244, allocations: 256.3 kB / 3.546 GB, free: 146.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/6.246, allocations: 0.8068 MB / 3.546 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/6.246, allocations: 45.7 kB / 3.546 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/6.246, allocations: 0.5584 MB / 3.547 GB, free: 145.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/6.246, allocations: 335.2 kB / 3.547 GB, free: 144.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/6.246, allocations: 16 kB / 3.547 GB, free: 144.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.805e-05/6.246, allocations: 341.9 kB / 3.548 GB, free: 144.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/6.247, allocations: 361.7 kB / 3.548 GB, free: 144.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006846/6.248, allocations: 0.5493 MB / 3.549 GB, free: 143.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/6.248, allocations: 434.8 kB / 3.549 GB, free: 143.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/6.248, allocations: 0 / 3.549 GB, free: 143.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002263/6.251, allocations: 1.137 MB / 3.55 GB, free: 142 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/6.251, allocations: 8.094 kB / 3.55 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/6.251, allocations: 3.938 kB / 3.55 GB, free: 142 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006344/6.251, allocations: 93.05 kB / 3.55 GB, free: 141.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/6.252, allocations: 231.7 kB / 3.55 GB, free: 141.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/6.254, allocations: 1.543 MB / 3.552 GB, free: 139.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/6.256, allocations: 146.9 kB / 3.552 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/6.256, allocations: 43.97 kB / 3.552 GB, free: 139.8 MB / 1.167 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 () * Number of clocked 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.0009092/6.257, allocations: 329.3 kB / 3.552 GB, free: 139.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002366/6.257, allocations: 118.6 kB / 3.552 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/6.26, allocations: 1.381 MB / 3.554 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/6.26, allocations: 8 kB / 3.554 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/6.26, allocations: 4 kB / 3.554 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/6.26, allocations: 11.92 kB / 3.554 GB, free: 137.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/6.264, allocations: 2.727 MB / 3.556 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/6.264, allocations: 0 / 3.556 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009872/6.265, allocations: 227.7 kB / 3.557 GB, free: 134.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005182/6.266, allocations: 80.78 kB / 3.557 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/6.266, allocations: 39.91 kB / 3.557 GB, free: 134.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/6.268, allocations: 1.564 MB / 3.558 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/6.268, allocations: 4.031 kB / 3.558 GB, free: 133.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/6.27, allocations: 1.261 MB / 3.56 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/6.271, allocations: 367.2 kB / 3.56 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/6.271, allocations: 24.06 kB / 3.56 GB, free: 131.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/6.272, allocations: 111.7 kB / 3.56 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/6.272, allocations: 76.83 kB / 3.56 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.679e-05/6.272, allocations: 51.95 kB / 3.56 GB, free: 131.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008982/6.273, allocations: 0.6334 MB / 3.561 GB, free: 130.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.273, allocations: 0 / 3.561 GB, free: 130.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002239/6.275, allocations: 0.6159 MB / 3.561 GB, free: 129.9 MB / 1.167 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) * Number of clocked states: 0 () * 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.003782/6.279, allocations: 1.898 MB / 3.563 GB, free: 128.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002301/6.282, allocations: 1.062 MB / 3.564 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/6.282, allocations: 4.438 kB / 3.564 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/6.283, allocations: 0.6524 MB / 3.565 GB, free: 126.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/6.285, allocations: 463.1 kB / 3.565 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005859/6.291, allocations: 2.959 MB / 3.568 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009861/6.292, allocations: 1.209 MB / 3.569 GB, free: 121.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001993/6.294, allocations: 381.1 kB / 3.57 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005078/6.294, allocations: 135.4 kB / 3.57 GB, free: 121.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.473e-06/6.294, allocations: 0 / 3.57 GB, free: 121.2 MB / 1.167 GB Notification: Performance of Templates: time 0.05575/6.35, allocations: 38.46 MB / 3.608 GB, free: 82.98 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches