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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 182.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003863, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7265/0.7269, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2219/0.9489, allocations: 190.3 MB / 1.142 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02139/0.9703, allocations: 14.21 MB / 1.155 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.972, allocations: 31.81 kB / 1.155 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.9739, allocations: 417.7 kB / 1.156 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.9795, allocations: 1.778 MB / 1.158 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.9822, allocations: 0.7745 MB / 1.158 GB, free: 15.12 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004652/0.9868, allocations: 3.622 MB / 1.162 GB, free: 11.49 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001742/0.9886, allocations: 0.9002 MB / 1.163 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005664/0.9943, allocations: 1.425 MB / 1.164 GB, free: 9.156 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.9964, allocations: 0.9083 MB / 1.165 GB, free: 8.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.9967, allocations: 48 kB / 1.165 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.9996, allocations: 1.247 MB / 1.166 GB, free: 6.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006458/1, allocations: 442.8 kB / 1.167 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/1.002, allocations: 0.5847 MB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/1.004, allocations: 1.403 MB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.004, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.545e-06/1.004, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.148e-05/1.004, allocations: 0 / 1.169 GB, free: 4.512 MB / 0.92 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.002742/1.007, allocations: 1.227 MB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.007, allocations: 8.031 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/1.008, allocations: 258.4 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.01, allocations: 0.7492 MB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/1.01, allocations: 73.98 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/1.01, allocations: 92 kB / 1.171 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/1.012, allocations: 1.169 MB / 1.172 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/1.012, allocations: 7.938 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.648e-05/1.012, allocations: 39.94 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/1.012, allocations: 34 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/1.014, allocations: 0.9016 MB / 1.173 GB, free: 15.79 MB / 0.9356 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.005945/1.02, allocations: 5.739 MB / 1.179 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/1.021, allocations: 0.5316 MB / 1.179 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/1.021, allocations: 314.6 kB / 1.18 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006462/1.022, allocations: 327.7 kB / 1.18 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.022, allocations: 43 kB / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 3.146e-06/1.022, allocations: 0 / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.00157/1.023, allocations: 0.7987 MB / 1.181 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.023, allocations: 55.84 kB / 1.181 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000959/1.024, allocations: 0.7548 MB / 1.181 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/1.024, allocations: 37.7 kB / 1.182 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/1.025, allocations: 0.5104 MB / 1.182 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/1.025, allocations: 169.5 kB / 1.182 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.917e-05/1.025, allocations: 69.62 kB / 1.182 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.025, allocations: 341.9 kB / 1.183 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/1.026, allocations: 241.9 kB / 1.183 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/1.026, allocations: 0.5546 MB / 1.183 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/1.027, allocations: 0.8073 MB / 1.184 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.027, allocations: 4 kB / 1.184 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001446/1.029, allocations: 0.846 MB / 1.185 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.029, allocations: 8 kB / 1.185 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/1.029, allocations: 8 kB / 1.185 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/1.029, allocations: 12.81 kB / 1.185 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006031/1.03, allocations: 155.8 kB / 1.185 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.974e-05/1.03, allocations: 23.92 kB / 1.185 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/1.031, allocations: 143 kB / 1.185 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/1.031, allocations: 43.94 kB / 1.185 GB, free: 2.453 MB / 0.9356 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005877/1.031, allocations: 326 kB / 1.186 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/1.032, allocations: 90.97 kB / 1.186 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/1.033, allocations: 0.6102 MB / 1.186 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.033, allocations: 4 kB / 1.186 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.033, allocations: 0 / 1.186 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007437/1.033, allocations: 0.5211 MB / 1.187 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00292/1.036, allocations: 1.671 MB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.036, allocations: 3.938 kB / 1.188 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/1.037, allocations: 120 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.037, allocations: 4.047 kB / 1.189 GB, free: 15 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.661e-05/1.037, allocations: 19.98 kB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.037, allocations: 4 kB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.037, allocations: 0 / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/1.039, allocations: 1.015 MB / 1.19 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/1.039, allocations: 227.9 kB / 1.19 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/1.039, allocations: 12 kB / 1.19 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.04, allocations: 73.75 kB / 1.19 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/1.04, allocations: 35.89 kB / 1.19 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/1.04, allocations: 16 kB / 1.19 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008593/1.041, allocations: 0.5146 MB / 1.19 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/1.041, allocations: 0 / 1.19 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001216/1.042, allocations: 299.4 kB / 1.191 GB, free: 12.74 MB / 0.9512 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006589/1.043, allocations: 200.6 kB / 1.191 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001233/1.044, allocations: 0.6079 MB / 1.192 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/1.044, allocations: 0 / 1.192 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/1.045, allocations: 272.4 kB / 1.192 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/1.047, allocations: 443 kB / 1.192 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/1.052, allocations: 2.487 MB / 1.195 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/1.053, allocations: 1.122 MB / 1.196 GB, free: 7.57 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003246/1.053, allocations: 79.42 kB / 1.196 GB, free: 7.492 MB / 0.9512 GB Notification: Performance of SimCode: time 1.052e-06/1.053, allocations: 3.938 kB / 1.196 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of Templates: time 0.02529/1.078, allocations: 14.49 MB / 1.21 GB, free: 9.117 MB / 0.9669 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches