Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 249.3 MB / 261.8 MB, free: 5.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 176.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009528, allocations: 96.28 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.569e-05/3.572e-05, allocations: 7.984 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2412, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.123/6.364, allocations: 2.246 GB / 3.138 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/6.364, allocations: 87.95 kB / 3.138 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.523/8.888, allocations: 0.6373 GB / 3.775 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/8.888, allocations: 3.938 kB / 3.775 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.008e-05/8.888, allocations: 31.27 kB / 3.775 GB, free: 137.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002628/8.89, allocations: 1.317 MB / 3.777 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/8.891, allocations: 8.031 kB / 3.777 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/8.892, allocations: 254.3 kB / 3.777 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/8.894, allocations: 1.104 MB / 3.778 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/8.894, allocations: 77.95 kB / 3.778 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/8.894, allocations: 96 kB / 3.778 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/8.896, allocations: 1.107 MB / 3.779 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/8.896, allocations: 0 / 3.779 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/8.896, allocations: 36 kB / 3.779 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/8.896, allocations: 34 kB / 3.779 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/8.897, allocations: 0.8392 MB / 3.78 GB, free: 132.6 MB / 0.8698 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.00466/8.902, allocations: 5.685 MB / 3.786 GB, free: 126.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/8.903, allocations: 0.5354 MB / 3.786 GB, free: 126 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003333/8.903, allocations: 298.6 kB / 3.786 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004792/8.904, allocations: 311.6 kB / 3.787 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/8.904, allocations: 42.98 kB / 3.787 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/8.904, allocations: 0 / 3.787 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001102/8.905, allocations: 0.5692 MB / 3.787 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/8.905, allocations: 63.78 kB / 3.787 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006691/8.905, allocations: 0.6369 MB / 3.788 GB, free: 124 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/8.905, allocations: 37.7 kB / 3.788 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/8.906, allocations: 0.4949 MB / 3.788 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/8.906, allocations: 185.4 kB / 3.789 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/8.906, allocations: 12 kB / 3.789 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001164/8.906, allocations: 390.8 kB / 3.789 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/8.906, allocations: 229.5 kB / 3.789 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/8.907, allocations: 0.5529 MB / 3.79 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/8.907, allocations: 335.8 kB / 3.79 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/8.907, allocations: 4 kB / 3.79 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001017/8.908, allocations: 0.8194 MB / 3.791 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/8.908, allocations: 9.562 kB / 3.791 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/8.908, allocations: 12 kB / 3.791 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/8.908, allocations: 15.94 kB / 3.791 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/8.909, allocations: 151.8 kB / 3.791 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/8.909, allocations: 19.11 kB / 3.791 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009256/8.91, allocations: 143 kB / 3.791 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/8.91, allocations: 36 kB / 3.791 GB, free: 120.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001343/8.91, allocations: 154.4 kB / 3.791 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/8.91, allocations: 86.92 kB / 3.791 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008743/8.911, allocations: 0.5941 MB / 3.792 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/8.911, allocations: 8 kB / 3.792 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/8.911, allocations: 0 / 3.792 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005692/8.912, allocations: 0.4899 MB / 3.793 GB, free: 119 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/8.914, allocations: 1.647 MB / 3.794 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/8.914, allocations: 224 / 3.794 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004746/8.914, allocations: 115.9 kB / 3.794 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/8.914, allocations: 4 kB / 3.794 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/8.914, allocations: 16 kB / 3.794 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/8.914, allocations: 8 kB / 3.794 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/8.914, allocations: 7.922 kB / 3.794 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/8.916, allocations: 1.093 MB / 3.795 GB, free: 116 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/8.916, allocations: 228 kB / 3.796 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/8.916, allocations: 15.94 kB / 3.796 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/8.917, allocations: 63.88 kB / 3.796 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/8.917, allocations: 43.69 kB / 3.796 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/8.917, allocations: 16 kB / 3.796 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005288/8.917, allocations: 0.4952 MB / 3.796 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/8.917, allocations: 3.938 kB / 3.796 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001644/8.919, allocations: 483.2 kB / 3.797 GB, free: 114.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002458/8.921, allocations: 1.9 MB / 3.799 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009092/8.922, allocations: 0.5808 MB / 3.799 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/8.922, allocations: 0 / 3.799 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002837/8.923, allocations: 259.5 kB / 3.799 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/8.925, allocations: 426 kB / 3.8 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/8.927, allocations: 1.523 MB / 3.801 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/8.928, allocations: 1.134 MB / 3.802 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009059/8.928, allocations: 275 kB / 3.803 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/8.929, allocations: 67.44 kB / 3.803 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/8.929, allocations: 0 / 3.803 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.0519/8.981, allocations: 41.36 MB / 3.843 GB, free: 67.15 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches