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.594/2.594, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001473/0.001473, allocations: 179.5 kB / 0.4902 GB, free: 2.234 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.638/1.638, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0009293/0.0009292, allocations: 108.6 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004808, allocations: 10.47 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3422, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.391/4.733, allocations: 1.907 GB / 3.137 GB, free: 45.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/4.733, allocations: 95.28 kB / 3.137 GB, free: 45.74 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.522/6.255, allocations: 410 MB / 3.537 GB, free: 109.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.285e-06/6.255, allocations: 3.938 kB / 3.537 GB, free: 109.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001143/6.255, allocations: 36 kB / 3.537 GB, free: 109 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.003574/6.259, allocations: 1.778 MB / 3.539 GB, free: 107.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/6.259, allocations: 12.83 kB / 3.539 GB, free: 107.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/6.261, allocations: 405.6 kB / 3.539 GB, free: 106.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/6.264, allocations: 1.172 MB / 3.54 GB, free: 105.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/6.264, allocations: 94.97 kB / 3.541 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/6.264, allocations: 132 kB / 3.541 GB, free: 105.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/6.266, allocations: 1.437 MB / 3.542 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/6.266, allocations: 3.938 kB / 3.542 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/6.266, allocations: 60 kB / 3.542 GB, free: 103.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/6.266, allocations: 36 kB / 3.542 GB, free: 103.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/6.268, allocations: 1.524 MB / 3.544 GB, free: 102.2 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.006104/6.274, allocations: 4.888 MB / 3.548 GB, free: 97.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/6.276, allocations: 1.471 MB / 3.55 GB, free: 95.53 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006059/6.277, allocations: 429.3 kB / 3.55 GB, free: 95.04 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009201/6.278, allocations: 0.6334 MB / 3.551 GB, free: 94.39 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 2.936e-06/6.278, allocations: 0 / 3.551 GB, free: 94.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.003694/6.282, allocations: 1.591 MB / 3.552 GB, free: 92.77 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/6.282, allocations: 248.3 kB / 3.553 GB, free: 92.47 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/6.283, allocations: 0.803 MB / 3.553 GB, free: 91.64 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-05/6.283, allocations: 45.7 kB / 3.554 GB, free: 91.59 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/6.283, allocations: 0.57 MB / 3.554 GB, free: 91.02 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/6.284, allocations: 331.2 kB / 3.554 GB, free: 90.69 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/6.284, allocations: 20 kB / 3.554 GB, free: 90.67 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/6.284, allocations: 341.9 kB / 3.555 GB, free: 90.33 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/6.284, allocations: 365.8 kB / 3.555 GB, free: 89.97 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006845/6.285, allocations: 0.5456 MB / 3.556 GB, free: 89.36 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/6.286, allocations: 438.8 kB / 3.556 GB, free: 88.93 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/6.286, allocations: 0 / 3.556 GB, free: 88.93 MB / 1.167 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002285/6.288, allocations: 1.129 MB / 3.557 GB, free: 87.79 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/6.288, allocations: 8 kB / 3.557 GB, free: 87.78 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/6.288, allocations: 0 / 3.557 GB, free: 87.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/6.289, allocations: 93.14 kB / 3.557 GB, free: 87.69 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/6.29, allocations: 227.7 kB / 3.557 GB, free: 87.46 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/6.292, allocations: 1.556 MB / 3.559 GB, free: 85.77 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/6.293, allocations: 142.9 kB / 3.559 GB, free: 85.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.434e-05/6.293, allocations: 39.98 kB / 3.559 GB, free: 85.59 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.0008557/6.294, allocations: 325.6 kB / 3.559 GB, free: 85.26 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/6.294, allocations: 118.6 kB / 3.56 GB, free: 85.14 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/6.297, allocations: 1.392 MB / 3.561 GB, free: 83.74 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/6.297, allocations: 8 kB / 3.561 GB, free: 83.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/6.297, allocations: 4 kB / 3.561 GB, free: 83.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/6.297, allocations: 3.984 kB / 3.561 GB, free: 83.73 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/6.301, allocations: 2.723 MB / 3.564 GB, free: 80.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/6.301, allocations: 0 / 3.564 GB, free: 80.95 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009375/6.302, allocations: 215.7 kB / 3.564 GB, free: 80.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/6.303, allocations: 84.77 kB / 3.564 GB, free: 80.65 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/6.303, allocations: 31.98 kB / 3.564 GB, free: 80.62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/6.304, allocations: 1.575 MB / 3.565 GB, free: 78.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/6.304, allocations: 4.031 kB / 3.565 GB, free: 78.89 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/6.307, allocations: 1.25 MB / 3.567 GB, free: 77.62 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006451/6.307, allocations: 375.1 kB / 3.567 GB, free: 77.24 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/6.307, allocations: 27.98 kB / 3.567 GB, free: 77.21 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/6.308, allocations: 95.92 kB / 3.567 GB, free: 77.12 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/6.308, allocations: 72.89 kB / 3.567 GB, free: 77.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.749e-05/6.309, allocations: 43.97 kB / 3.567 GB, free: 77 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008016/6.309, allocations: 0.6412 MB / 3.568 GB, free: 76.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/6.309, allocations: 0 / 3.568 GB, free: 76.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001953/6.311, allocations: 0.6158 MB / 3.569 GB, free: 75.73 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.003257/6.315, allocations: 1.916 MB / 3.57 GB, free: 73.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001978/6.317, allocations: 1.074 MB / 3.571 GB, free: 72.87 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/6.317, allocations: 4 kB / 3.571 GB, free: 72.87 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009378/6.318, allocations: 0.6485 MB / 3.572 GB, free: 72.21 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/6.32, allocations: 476.7 kB / 3.573 GB, free: 71.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004907/6.324, allocations: 2.953 MB / 3.575 GB, free: 68.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/6.325, allocations: 1.206 MB / 3.577 GB, free: 67.53 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001426/6.326, allocations: 381.2 kB / 3.577 GB, free: 67.15 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/6.327, allocations: 131.4 kB / 3.577 GB, free: 67.02 MB / 1.167 GB Notification: Performance of SimCode: time 2.214e-06/6.327, allocations: 0 / 3.577 GB, free: 67.02 MB / 1.167 GB Notification: Performance of Templates: time 0.05382/6.381, allocations: 38.46 MB / 3.615 GB, free: 28.77 MB / 1.167 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