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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004738/0.004738, allocations: 101 kB / 15.73 MB, free: 6.055 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.001252/0.001252, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.545/2.545, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 71.84 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8438/0.8457, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2252/1.071, allocations: 195.1 MB / 1.357 GB, free: 15.9 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0188/1.09, allocations: 14.33 MB / 1.371 GB, free: 1.539 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001401/1.091, allocations: 35.81 kB / 1.371 GB, free: 1.504 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/1.093, allocations: 496.8 kB / 1.371 GB, free: 1.016 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/1.098, allocations: 1.895 MB / 1.373 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/1.1, allocations: 0.8628 MB / 1.374 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003589/1.104, allocations: 2.566 MB / 1.376 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/1.105, allocations: 1.119 MB / 1.378 GB, free: 10.54 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003968/1.109, allocations: 1.593 MB / 1.379 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/1.111, allocations: 0.9241 MB / 1.38 GB, free: 8.031 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001883/1.111, allocations: 108 kB / 1.38 GB, free: 7.926 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/1.113, allocations: 1.111 MB / 1.381 GB, free: 6.812 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/1.114, allocations: 0.491 MB / 1.382 GB, free: 6.32 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007953/1.115, allocations: 0.6338 MB / 1.382 GB, free: 5.684 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002763/1.117, allocations: 1.916 MB / 1.384 GB, free: 3.762 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/1.117, allocations: 0 / 1.384 GB, free: 3.762 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.969e-06/1.117, allocations: 0 / 1.384 GB, free: 3.762 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.693e-05/1.117, allocations: 3.938 kB / 1.384 GB, free: 3.758 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.002372/1.12, allocations: 1.484 MB / 1.386 GB, free: 2.223 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.12, allocations: 8.922 kB / 1.386 GB, free: 2.215 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/1.12, allocations: 151.5 kB / 1.386 GB, free: 2.059 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/1.121, allocations: 262.9 kB / 1.386 GB, free: 1.801 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/1.123, allocations: 0.7928 MB / 1.387 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/1.123, allocations: 69.98 kB / 1.387 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.123, allocations: 96 kB / 1.387 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.125, allocations: 1.169 MB / 1.388 GB, free: 15.56 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.125, allocations: 7.984 kB / 1.388 GB, free: 15.55 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/1.125, allocations: 43.92 kB / 1.388 GB, free: 15.51 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/1.125, allocations: 34 kB / 1.388 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/1.126, allocations: 0.8976 MB / 1.389 GB, free: 14.58 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.005989/1.132, allocations: 5.759 MB / 1.395 GB, free: 8.367 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/1.133, allocations: 0.5238 MB / 1.395 GB, free: 7.836 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004835/1.134, allocations: 330.6 kB / 1.395 GB, free: 7.512 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/1.134, allocations: 307.7 kB / 1.396 GB, free: 7.156 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.134, allocations: 43 kB / 1.396 GB, free: 7.105 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/1.134, allocations: 4 kB / 1.396 GB, free: 7.102 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001576/1.136, allocations: 0.803 MB / 1.397 GB, free: 6.293 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.136, allocations: 55.84 kB / 1.397 GB, free: 6.227 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000954/1.137, allocations: 0.7549 MB / 1.397 GB, free: 5.461 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 5.216e-05/1.137, allocations: 37.7 kB / 1.397 GB, free: 5.418 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/1.138, allocations: 0.5155 MB / 1.398 GB, free: 4.895 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/1.138, allocations: 186.4 kB / 1.398 GB, free: 4.711 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/1.138, allocations: 146.6 kB / 1.398 GB, free: 4.562 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.138, allocations: 337.9 kB / 1.399 GB, free: 4.227 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003953/1.139, allocations: 249.8 kB / 1.399 GB, free: 3.984 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/1.139, allocations: 0.5546 MB / 1.399 GB, free: 3.297 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.14, allocations: 0.7917 MB / 1.4 GB, free: 2.395 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.14, allocations: 8 kB / 1.4 GB, free: 2.387 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/1.142, allocations: 0.8467 MB / 1.401 GB, free: 1.531 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.142, allocations: 8 kB / 1.401 GB, free: 1.523 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.142, allocations: 11.98 kB / 1.401 GB, free: 1.512 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/1.142, allocations: 15.94 kB / 1.401 GB, free: 1.496 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/1.142, allocations: 156.4 kB / 1.401 GB, free: 1.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.922e-05/1.142, allocations: 23.88 kB / 1.401 GB, free: 1.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/1.143, allocations: 99.28 kB / 1.401 GB, free: 1.223 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/1.143, allocations: 36.03 kB / 1.401 GB, free: 1.188 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.0004768/1.144, allocations: 329.4 kB / 1.402 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/1.144, allocations: 95.42 kB / 1.402 GB, free: 0.7617 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/1.145, allocations: 0.6257 MB / 1.402 GB, free: 128 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.145, allocations: 4 kB / 1.402 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.145, allocations: 0 / 1.402 GB, free: 124 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007782/1.146, allocations: 0.5211 MB / 1.403 GB, free: 15.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/1.148, allocations: 1.671 MB / 1.404 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.148, allocations: 0 / 1.404 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/1.149, allocations: 103.9 kB / 1.405 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/1.149, allocations: 4 kB / 1.405 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.149, allocations: 19.98 kB / 1.405 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.149, allocations: 0 / 1.405 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.149, allocations: 4 kB / 1.405 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/1.15, allocations: 1.027 MB / 1.406 GB, free: 12.64 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/1.151, allocations: 236.5 kB / 1.406 GB, free: 12.39 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/1.151, allocations: 12 kB / 1.406 GB, free: 12.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/1.151, allocations: 13.11 kB / 1.406 GB, free: 12.37 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.092e-05/1.151, allocations: 31.91 kB / 1.406 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/1.151, allocations: 23.98 kB / 1.406 GB, free: 12.31 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006703/1.152, allocations: 0.5107 MB / 1.406 GB, free: 11.81 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.152, allocations: 0 / 1.406 GB, free: 11.81 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008645/1.153, allocations: 303.4 kB / 1.407 GB, free: 11.51 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.002093/1.155, allocations: 1.669 MB / 1.408 GB, free: 9.812 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.156, allocations: 0.612 MB / 1.409 GB, free: 9.199 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/1.156, allocations: 4 kB / 1.409 GB, free: 9.195 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000393/1.156, allocations: 271.6 kB / 1.409 GB, free: 8.93 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.158, allocations: 442.3 kB / 1.41 GB, free: 8.5 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00984/1.168, allocations: 7.236 MB / 1.417 GB, free: 0.8828 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/1.169, allocations: 1.118 MB / 1.418 GB, free: 15.74 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008454/1.17, allocations: 271 kB / 1.418 GB, free: 15.47 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/1.17, allocations: 363.3 kB / 1.418 GB, free: 15.11 MB / 1.154 GB Notification: Performance of SimCode: time 6.61e-07/1.17, allocations: 4 kB / 1.418 GB, free: 15.11 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05498/1.225, allocations: 23.09 MB / 1.441 GB, free: 8.34 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.589/10.81, allocations: 8.641 kB / 1.441 GB, free: 8.332 MB / 1.17 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/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