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 1.991/1.991, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009709/0.000971, allocations: 176.9 kB / 487.4 MB, free: 5.039 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.288/1.288, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 87.11 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.755e-05/1.758e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.276/4.495, allocations: 1.972 GB / 3.178 GB, free: 378.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/4.495, allocations: 87.95 kB / 3.178 GB, free: 378.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.748/6.242, allocations: 0.6589 GB / 3.837 GB, free: 144.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.062e-06/6.242, allocations: 0 / 3.837 GB, free: 144.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.911e-05/6.242, allocations: 32 kB / 3.837 GB, free: 144.3 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.00206/6.245, allocations: 1.324 MB / 3.838 GB, free: 142.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/6.245, allocations: 8.031 kB / 3.838 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/6.246, allocations: 254.2 kB / 3.839 GB, free: 142.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/6.248, allocations: 1.113 MB / 3.84 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/6.248, allocations: 28 kB / 3.84 GB, free: 141.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/6.248, allocations: 56 kB / 3.84 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009893/6.249, allocations: 0.7536 MB / 3.84 GB, free: 140.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/6.25, allocations: 0.9783 MB / 3.841 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/6.25, allocations: 3.938 kB / 3.841 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/6.25, allocations: 4 kB / 3.841 GB, free: 139.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/6.25, allocations: 37.95 kB / 3.841 GB, free: 139.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.003589/6.254, allocations: 5.512 MB / 3.847 GB, free: 133.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/6.254, allocations: 0.5079 MB / 3.847 GB, free: 133.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/6.255, allocations: 290.6 kB / 3.848 GB, free: 132.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004154/6.255, allocations: 315.8 kB / 3.848 GB, free: 132.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/6.255, allocations: 38.94 kB / 3.848 GB, free: 132.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/6.255, allocations: 0 / 3.848 GB, free: 132.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.0009898/6.256, allocations: 0.5811 MB / 3.849 GB, free: 131.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/6.256, allocations: 55.84 kB / 3.849 GB, free: 131.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/6.256, allocations: 0.5192 MB / 3.849 GB, free: 131.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/6.257, allocations: 29.7 kB / 3.849 GB, free: 131.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/6.257, allocations: 0.4986 MB / 3.85 GB, free: 130.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/6.257, allocations: 173.4 kB / 3.85 GB, free: 130.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/6.257, allocations: 0 / 3.85 GB, free: 130.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.956e-05/6.257, allocations: 386.7 kB / 3.85 GB, free: 130.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/6.257, allocations: 233.5 kB / 3.85 GB, free: 129.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/6.258, allocations: 0.5381 MB / 3.851 GB, free: 129.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/6.258, allocations: 364.5 kB / 3.851 GB, free: 128.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/6.258, allocations: 0 / 3.851 GB, free: 128.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009092/6.259, allocations: 0.7689 MB / 3.852 GB, free: 128 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/6.259, allocations: 8 kB / 3.852 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/6.259, allocations: 8 kB / 3.852 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/6.259, allocations: 15.94 kB / 3.852 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/6.259, allocations: 155.8 kB / 3.852 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/6.259, allocations: 23.86 kB / 3.852 GB, free: 127.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008081/6.26, allocations: 127.3 kB / 3.852 GB, free: 127.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.548e-05/6.26, allocations: 32 kB / 3.852 GB, free: 127.7 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.0001035/6.26, allocations: 133.9 kB / 3.852 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/6.261, allocations: 75.06 kB / 3.853 GB, free: 127.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/6.261, allocations: 0.5895 MB / 3.853 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/6.261, allocations: 12 kB / 3.853 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/6.261, allocations: 0 / 3.853 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005627/6.262, allocations: 0.4977 MB / 3.854 GB, free: 126.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/6.264, allocations: 1.537 MB / 3.855 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/6.264, allocations: 4 kB / 3.855 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/6.264, allocations: 107.9 kB / 3.855 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/6.264, allocations: 8.219 kB / 3.855 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/6.264, allocations: 8 kB / 3.855 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/6.264, allocations: 7.938 kB / 3.855 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/6.264, allocations: 3.953 kB / 3.855 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/6.265, allocations: 1.064 MB / 3.856 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/6.266, allocations: 208.1 kB / 3.856 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.64e-05/6.266, allocations: 4 kB / 3.856 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/6.266, allocations: 63.73 kB / 3.857 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/6.266, allocations: 35.95 kB / 3.857 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/6.266, allocations: 16 kB / 3.857 GB, free: 123.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003396/6.267, allocations: 407.1 kB / 3.857 GB, free: 122.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.267, allocations: 0 / 3.857 GB, free: 122.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001077/6.268, allocations: 411.2 kB / 3.857 GB, free: 122.3 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.002038/6.27, allocations: 2.134 MB / 3.859 GB, free: 120.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0006809/6.27, allocations: 0.5491 MB / 3.86 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/6.27, allocations: 4.062 kB / 3.86 GB, free: 119.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/6.271, allocations: 247.7 kB / 3.86 GB, free: 119.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/6.272, allocations: 366.5 kB / 3.861 GB, free: 119 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/6.274, allocations: 1.503 MB / 3.862 GB, free: 117.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/6.275, allocations: 1.137 MB / 3.863 GB, free: 116.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007031/6.275, allocations: 254.5 kB / 3.863 GB, free: 116 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/6.275, allocations: 71.42 kB / 3.863 GB, free: 115.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/6.275, allocations: 0 / 3.863 GB, free: 115.9 MB / 1.151 GB Notification: Performance of Templates: time 0.03039/6.306, allocations: 23.11 MB / 3.886 GB, free: 92.99 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