Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001665/0.001665, allocations: 105.3 kB / 16.41 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 191.6 kB / 17.34 MB, free: 5.691 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.384/2.384, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 64.12 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8832, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2194/1.103, allocations: 195.1 MB / 1.358 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01917/1.122, allocations: 14.33 MB / 1.372 GB, free: 1.625 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/1.124, allocations: 43.75 kB / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001987/1.126, allocations: 0.4968 MB / 1.372 GB, free: 1.082 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005988/1.132, allocations: 1.964 MB / 1.374 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/1.134, allocations: 0.871 MB / 1.375 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003891/1.138, allocations: 2.574 MB / 1.378 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/1.14, allocations: 1.115 MB / 1.379 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/1.145, allocations: 1.649 MB / 1.38 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/1.147, allocations: 0.9242 MB / 1.381 GB, free: 7.957 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/1.148, allocations: 104 kB / 1.381 GB, free: 7.855 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/1.15, allocations: 1.103 MB / 1.382 GB, free: 6.75 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006888/1.151, allocations: 0.4987 MB / 1.383 GB, free: 6.25 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001279/1.152, allocations: 0.6416 MB / 1.384 GB, free: 5.605 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003489/1.156, allocations: 1.917 MB / 1.385 GB, free: 3.684 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.156, allocations: 0 / 1.385 GB, free: 3.684 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.944e-06/1.156, allocations: 4 kB / 1.385 GB, free: 3.68 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.886e-05/1.156, allocations: 0 / 1.385 GB, free: 3.68 MB / 1.107 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.003188/1.159, allocations: 1.482 MB / 1.387 GB, free: 2.145 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/1.159, allocations: 8.031 kB / 1.387 GB, free: 2.137 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/1.16, allocations: 263 kB / 1.387 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.162, allocations: 0.8005 MB / 1.388 GB, free: 1.035 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/1.162, allocations: 74 kB / 1.388 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.162, allocations: 92 kB / 1.388 GB, free: 0.875 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.164, allocations: 1.166 MB / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/1.164, allocations: 0 / 1.389 GB, free: 15.64 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/1.164, allocations: 51.88 kB / 1.389 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/1.164, allocations: 38 kB / 1.389 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/1.166, allocations: 0.9015 MB / 1.39 GB, free: 14.65 MB / 1.123 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.00616/1.172, allocations: 5.752 MB / 1.396 GB, free: 8.441 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/1.173, allocations: 0.5394 MB / 1.396 GB, free: 7.895 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/1.173, allocations: 324.3 kB / 1.397 GB, free: 7.578 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/1.174, allocations: 307.7 kB / 1.397 GB, free: 7.223 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/1.174, allocations: 39 kB / 1.397 GB, free: 7.176 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/1.174, allocations: 0 / 1.397 GB, free: 7.176 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.00159/1.175, allocations: 0.807 MB / 1.398 GB, free: 6.363 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/1.175, allocations: 59.84 kB / 1.398 GB, free: 6.293 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/1.176, allocations: 0.7471 MB / 1.399 GB, free: 5.535 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/1.176, allocations: 37.7 kB / 1.399 GB, free: 5.492 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/1.177, allocations: 0.5193 MB / 1.399 GB, free: 4.965 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/1.177, allocations: 186.4 kB / 1.399 GB, free: 4.781 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.177, allocations: 146.6 kB / 1.399 GB, free: 4.633 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.177, allocations: 337.9 kB / 1.4 GB, free: 4.297 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/1.178, allocations: 249.8 kB / 1.4 GB, free: 4.055 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006666/1.179, allocations: 0.5546 MB / 1.401 GB, free: 3.367 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/1.18, allocations: 0.7956 MB / 1.401 GB, free: 2.461 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/1.18, allocations: 4 kB / 1.401 GB, free: 2.457 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001377/1.181, allocations: 0.8471 MB / 1.402 GB, free: 1.602 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.181, allocations: 11.98 kB / 1.402 GB, free: 1.59 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/1.181, allocations: 8 kB / 1.402 GB, free: 1.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/1.181, allocations: 12 kB / 1.402 GB, free: 1.57 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/1.182, allocations: 155.8 kB / 1.402 GB, free: 1.418 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/1.182, allocations: 12 kB / 1.402 GB, free: 1.406 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/1.182, allocations: 95.48 kB / 1.402 GB, free: 1.312 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/1.182, allocations: 47.88 kB / 1.402 GB, free: 1.266 MB / 1.123 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.0005044/1.183, allocations: 329.5 kB / 1.403 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.183, allocations: 91.44 kB / 1.403 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.184, allocations: 0.614 MB / 1.403 GB, free: 224 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.184, allocations: 8.031 kB / 1.403 GB, free: 216 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.184, allocations: 7.938 kB / 1.403 GB, free: 208 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007546/1.185, allocations: 0.5212 MB / 1.404 GB, free: 15.66 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/1.187, allocations: 1.663 MB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.187, allocations: 4.156 kB / 1.406 GB, free: 13.91 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/1.188, allocations: 115.9 kB / 1.406 GB, free: 13.8 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.188, allocations: 4 kB / 1.406 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/1.188, allocations: 12 kB / 1.406 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/1.188, allocations: 7.938 kB / 1.406 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.188, allocations: 4 kB / 1.406 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/1.189, allocations: 1.023 MB / 1.407 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/1.19, allocations: 236.3 kB / 1.407 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/1.19, allocations: 12 kB / 1.407 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/1.19, allocations: 15.98 kB / 1.407 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/1.19, allocations: 35.95 kB / 1.407 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/1.191, allocations: 20 kB / 1.407 GB, free: 12.38 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006556/1.191, allocations: 0.5068 MB / 1.408 GB, free: 11.88 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.191, allocations: 0 / 1.408 GB, free: 11.88 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009072/1.192, allocations: 303.4 kB / 1.408 GB, free: 11.58 MB / 1.139 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.000549/1.193, allocations: 219.2 kB / 1.408 GB, free: 11.37 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001003/1.194, allocations: 0.6043 MB / 1.409 GB, free: 10.77 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.194, allocations: 4 kB / 1.409 GB, free: 10.77 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003869/1.194, allocations: 272 kB / 1.409 GB, free: 10.5 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/1.196, allocations: 451.4 kB / 1.409 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/1.199, allocations: 2.026 MB / 1.411 GB, free: 7.984 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/1.2, allocations: 1.129 MB / 1.412 GB, free: 6.828 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002517/1.2, allocations: 79.42 kB / 1.412 GB, free: 6.75 MB / 1.139 GB Notification: Performance of SimCode: time 6.71e-07/1.2, allocations: 0 / 1.412 GB, free: 6.75 MB / 1.139 GB Notification: Performance of Templates: time 0.02308/1.223, allocations: 14.63 MB / 1.427 GB, free: 8.238 MB / 1.154 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches