Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.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_9_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_9_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001039/0.001039, allocations: 188.1 kB / 492.3 MB, free: 0.6016 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.452/1.452, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.0009486/0.0009485, allocations: 93.83 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.237e-05/4.248e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3174, allocations: 142.3 MB / 1.212 GB, free: 38.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.639/5.957, allocations: 1.973 GB / 3.185 GB, free: 356.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/5.957, allocations: 87.95 kB / 3.185 GB, free: 356 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.163/8.12, allocations: 0.6664 GB / 3.852 GB, free: 111.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.545e-06/8.12, allocations: 0 / 3.852 GB, free: 111.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.222e-05/8.12, allocations: 35.92 kB / 3.852 GB, free: 111.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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002877/8.123, allocations: 1.317 MB / 3.853 GB, free: 110.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/8.123, allocations: 13.47 kB / 3.853 GB, free: 110.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/8.125, allocations: 254.3 kB / 3.853 GB, free: 109.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/8.127, allocations: 1.109 MB / 3.854 GB, free: 108.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/8.128, allocations: 74 kB / 3.854 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/8.128, allocations: 99.94 kB / 3.854 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/8.129, allocations: 1.099 MB / 3.855 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/8.129, allocations: 11.94 kB / 3.855 GB, free: 107.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/8.129, allocations: 43.89 kB / 3.856 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.912e-05/8.129, allocations: 34 kB / 3.856 GB, free: 107.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/8.131, allocations: 0.8276 MB / 3.856 GB, free: 106.5 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.004592/8.135, allocations: 5.698 MB / 3.862 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000739/8.136, allocations: 0.5327 MB / 3.862 GB, free: 99.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/8.136, allocations: 300.9 kB / 3.863 GB, free: 99.48 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/8.137, allocations: 307.8 kB / 3.863 GB, free: 99.12 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/8.137, allocations: 39 kB / 3.863 GB, free: 99.07 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 2.525e-06/8.137, allocations: 0 / 3.863 GB, free: 99.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.001083/8.138, allocations: 0.5888 MB / 3.864 GB, free: 98.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/8.138, allocations: 59.78 kB / 3.864 GB, free: 98.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/8.139, allocations: 0.641 MB / 3.864 GB, free: 97.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.6e-05/8.139, allocations: 41.64 kB / 3.864 GB, free: 97.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/8.139, allocations: 0.5104 MB / 3.865 GB, free: 97.19 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/8.139, allocations: 177.5 kB / 3.865 GB, free: 97.01 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/8.139, allocations: 12 kB / 3.865 GB, free: 97 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/8.139, allocations: 334 kB / 3.865 GB, free: 96.67 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/8.139, allocations: 237.5 kB / 3.866 GB, free: 96.44 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/8.14, allocations: 0.5702 MB / 3.866 GB, free: 95.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/8.14, allocations: 343.3 kB / 3.866 GB, free: 95.38 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/8.14, allocations: 3.938 kB / 3.866 GB, free: 95.38 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001029/8.141, allocations: 0.8268 MB / 3.867 GB, free: 94.54 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/8.141, allocations: 8 kB / 3.867 GB, free: 94.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/8.141, allocations: 11.98 kB / 3.867 GB, free: 94.52 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/8.142, allocations: 16 kB / 3.867 GB, free: 94.51 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/8.142, allocations: 155.7 kB / 3.867 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/8.142, allocations: 15.95 kB / 3.867 GB, free: 94.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/8.143, allocations: 147.5 kB / 3.868 GB, free: 94.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/8.143, allocations: 35.98 kB / 3.868 GB, free: 94.16 MB / 1.151 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.0001314/8.143, allocations: 160.7 kB / 3.868 GB, free: 94 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/8.143, allocations: 82.97 kB / 3.868 GB, free: 93.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/8.144, allocations: 0.606 MB / 3.868 GB, free: 93.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/8.144, allocations: 4 kB / 3.868 GB, free: 93.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/8.144, allocations: 0 / 3.868 GB, free: 93.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005783/8.145, allocations: 0.5016 MB / 3.869 GB, free: 92.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/8.147, allocations: 1.653 MB / 3.871 GB, free: 91.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/8.147, allocations: 4 kB / 3.871 GB, free: 91.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/8.148, allocations: 103.8 kB / 3.871 GB, free: 90.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.122e-05/8.148, allocations: 4 kB / 3.871 GB, free: 90.94 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/8.148, allocations: 32.14 kB / 3.871 GB, free: 90.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/8.148, allocations: 7.938 kB / 3.871 GB, free: 90.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/8.148, allocations: 3.938 kB / 3.871 GB, free: 90.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/8.149, allocations: 1.073 MB / 3.872 GB, free: 89.74 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/8.149, allocations: 224 kB / 3.872 GB, free: 89.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/8.149, allocations: 19.98 kB / 3.872 GB, free: 89.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/8.15, allocations: 59.8 kB / 3.872 GB, free: 89.42 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/8.15, allocations: 31.95 kB / 3.872 GB, free: 89.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/8.15, allocations: 16 kB / 3.872 GB, free: 89.38 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005312/8.151, allocations: 0.503 MB / 3.873 GB, free: 88.88 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/8.151, allocations: 0 / 3.873 GB, free: 88.88 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001763/8.152, allocations: 483.3 kB / 3.873 GB, free: 88.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.002819/8.155, allocations: 1.906 MB / 3.875 GB, free: 86.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001032/8.156, allocations: 0.581 MB / 3.876 GB, free: 85.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/8.156, allocations: 4.25 kB / 3.876 GB, free: 85.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/8.157, allocations: 267.5 kB / 3.876 GB, free: 85.58 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/8.159, allocations: 424.5 kB / 3.876 GB, free: 85.17 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/8.161, allocations: 1.529 MB / 3.878 GB, free: 83.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006173/8.162, allocations: 1.142 MB / 3.879 GB, free: 82.43 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001061/8.163, allocations: 275.1 kB / 3.879 GB, free: 82.16 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/8.163, allocations: 67.42 kB / 3.879 GB, free: 82.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.994e-06/8.163, allocations: 0 / 3.879 GB, free: 82.09 MB / 1.151 GB Notification: Performance of Templates: time 0.05588/8.219, allocations: 41.45 MB / 3.92 GB, free: 40.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches