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.409/2.409, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001317/0.001317, allocations: 176.9 kB / 492.3 MB, free: 0.6367 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.537/1.537, allocations: 221.3 MB / 0.7872 GB, free: 12.94 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.0009668/0.0009668, allocations: 99.23 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.832e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.094/5.348, allocations: 1.907 GB / 3.119 GB, free: 423.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/5.348, allocations: 87.95 kB / 3.119 GB, free: 423.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7612/6.109, allocations: 409.4 MB / 3.519 GB, free: 6.141 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.577e-06/6.11, allocations: 0 / 3.519 GB, free: 6.141 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001363/6.11, allocations: 39.94 kB / 3.519 GB, free: 6.102 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.00383/6.114, allocations: 1.612 MB / 3.521 GB, free: 4.438 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.1e-05/6.114, allocations: 12.03 kB / 3.521 GB, free: 4.426 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/6.116, allocations: 393.6 kB / 3.521 GB, free: 4.039 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/6.119, allocations: 1.172 MB / 3.522 GB, free: 2.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/6.119, allocations: 94.62 kB / 3.522 GB, free: 2.727 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/6.119, allocations: 128 kB / 3.522 GB, free: 2.602 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/6.121, allocations: 1.39 MB / 3.524 GB, free: 1.133 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/6.121, allocations: 3.984 kB / 3.524 GB, free: 1.129 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/6.122, allocations: 56 kB / 3.524 GB, free: 1.074 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/6.122, allocations: 32 kB / 3.524 GB, free: 1.043 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8206/6.942, allocations: 1.45 MB / 3.525 GB, free: 285 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.009894/6.952, allocations: 4.884 MB / 3.53 GB, free: 283.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/6.955, allocations: 1.389 MB / 3.531 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/6.956, allocations: 441.4 kB / 3.532 GB, free: 282.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008053/6.957, allocations: 421.5 kB / 3.532 GB, free: 282.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/6.958, allocations: 0.6061 MB / 3.533 GB, free: 282.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=98): time 3.536e-06/6.958, allocations: 0 / 3.533 GB, free: 282.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=98): time 0.003335/6.962, allocations: 1.023 MB / 3.534 GB, free: 282.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/6.962, allocations: 241.1 kB / 3.534 GB, free: 281.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/6.963, allocations: 0.7929 MB / 3.535 GB, free: 281.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000205/6.964, allocations: 45.3 kB / 3.535 GB, free: 281.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/6.964, allocations: 0.569 MB / 3.535 GB, free: 281.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/6.965, allocations: 329.6 kB / 3.536 GB, free: 281.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/6.965, allocations: 18.03 kB / 3.536 GB, free: 281.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001084/6.965, allocations: 341.1 kB / 3.536 GB, free: 280.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006113/6.965, allocations: 328.3 kB / 3.536 GB, free: 280.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/6.966, allocations: 0.5188 MB / 3.537 GB, free: 280.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007594/6.967, allocations: 405.7 kB / 3.537 GB, free: 280.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/6.967, allocations: 3.188 kB / 3.537 GB, free: 280.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003014/6.97, allocations: 1.064 MB / 3.538 GB, free: 280.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/6.97, allocations: 13.05 kB / 3.538 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/6.97, allocations: 4.25 kB / 3.538 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/6.971, allocations: 90.14 kB / 3.538 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/6.972, allocations: 227.6 kB / 3.539 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/6.974, allocations: 1.531 MB / 3.54 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/6.975, allocations: 147.7 kB / 3.54 GB, free: 279.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/6.975, allocations: 39.47 kB / 3.54 GB, free: 279.3 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.0004073/6.976, allocations: 162.5 kB / 3.54 GB, free: 279.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/6.976, allocations: 119.4 kB / 3.54 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/6.979, allocations: 1.323 MB / 3.542 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/6.979, allocations: 12.75 kB / 3.542 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/6.979, allocations: 0 / 3.542 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/6.979, allocations: 7.484 kB / 3.542 GB, free: 279 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005815/6.985, allocations: 2.666 MB / 3.544 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/6.985, allocations: 1.344 kB / 3.544 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/6.986, allocations: 210 kB / 3.545 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005755/6.987, allocations: 85.55 kB / 3.545 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/6.987, allocations: 30.38 kB / 3.545 GB, free: 278.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/6.989, allocations: 1.554 MB / 3.546 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/6.989, allocations: 0.5625 kB / 3.546 GB, free: 277.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/6.993, allocations: 1.195 MB / 3.547 GB, free: 277.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/6.994, allocations: 374.2 kB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/6.994, allocations: 22.97 kB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/6.995, allocations: 97.89 kB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/6.996, allocations: 76.41 kB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/6.996, allocations: 46.84 kB / 3.548 GB, free: 277 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001544/6.998, allocations: 0.6231 MB / 3.549 GB, free: 276.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.41e-07/6.998, allocations: 3.969 kB / 3.549 GB, free: 276.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00442/7.002, allocations: 0.6165 MB / 3.549 GB, free: 276.8 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.00578/7.008, allocations: 1.872 MB / 3.551 GB, free: 276.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003572/7.011, allocations: 0.9962 MB / 3.552 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/7.011, allocations: 10.38 kB / 3.552 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001448/7.013, allocations: 0.612 MB / 3.553 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/7.016, allocations: 467.2 kB / 3.553 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/7.021, allocations: 1.848 MB / 3.555 GB, free: 275.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/7.023, allocations: 1.211 MB / 3.556 GB, free: 275 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00251/7.025, allocations: 380.9 kB / 3.556 GB, free: 275 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/7.026, allocations: 126.9 kB / 3.557 GB, free: 275 MB / 1.151 GB Notification: Performance of SimCode: time 5.19e-06/7.026, allocations: 0 / 3.557 GB, free: 275 MB / 1.151 GB Notification: Performance of Templates: time 0.07549/7.101, allocations: 42.12 MB / 3.598 GB, free: 274.2 MB / 1.151 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