Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.001168/0.001168, allocations: 193 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.802/2.802, allocations: 469.4 MB / 0.742 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 66.69 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3173, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.78/1.097, allocations: 195.1 MB / 1.254 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01647/1.114, allocations: 14.33 MB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/1.116, allocations: 38.94 kB / 1.268 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/1.117, allocations: 0.4894 MB / 1.269 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004777/1.122, allocations: 1.885 MB / 1.271 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.125, allocations: 0.8636 MB / 1.271 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00311/1.128, allocations: 2.571 MB / 1.274 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001505/1.129, allocations: 1.111 MB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/1.134, allocations: 1.599 MB / 1.277 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/1.136, allocations: 0.9262 MB / 1.277 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003529/1.136, allocations: 107.7 kB / 1.278 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/1.139, allocations: 1.095 MB / 1.279 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006401/1.14, allocations: 0.4942 MB / 1.279 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009545/1.141, allocations: 0.6359 MB / 1.28 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003313/1.144, allocations: 1.883 MB / 1.282 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.144, allocations: 2.062 kB / 1.282 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.364e-06/1.144, allocations: 0.9062 kB / 1.282 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.1e-05/1.144, allocations: 1.531 kB / 1.282 GB, free: 4.27 MB / 0.9981 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.002775/1.147, allocations: 1.45 MB / 1.283 GB, free: 19.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/1.147, allocations: 11.69 kB / 1.283 GB, free: 19.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/1.147, allocations: 144.7 kB / 1.283 GB, free: 19.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/1.149, allocations: 247 kB / 1.283 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/1.15, allocations: 0.7601 MB / 1.284 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/1.15, allocations: 70.25 kB / 1.284 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.15, allocations: 94.23 kB / 1.284 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.152, allocations: 1.169 MB / 1.285 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.152, allocations: 5.469 kB / 1.285 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.555e-05/1.152, allocations: 39.06 kB / 1.285 GB, free: 18.85 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-05/1.152, allocations: 34.2 kB / 1.285 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/1.153, allocations: 0.9052 MB / 1.286 GB, free: 18.84 MB / 1.014 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.005435/1.159, allocations: 5.769 MB / 1.292 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/1.159, allocations: 0.5383 MB / 1.293 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/1.16, allocations: 326 kB / 1.293 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000605/1.16, allocations: 309.8 kB / 1.293 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/1.161, allocations: 38.41 kB / 1.293 GB, free: 14.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=49): time 2.084e-06/1.161, allocations: 3.844 kB / 1.293 GB, free: 14.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.001461/1.162, allocations: 0.7961 MB / 1.294 GB, free: 14.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.162, allocations: 61.06 kB / 1.294 GB, free: 14.56 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/1.163, allocations: 0.7516 MB / 1.295 GB, free: 14.42 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/1.163, allocations: 36.95 kB / 1.295 GB, free: 14.39 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/1.163, allocations: 0.5126 MB / 1.295 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.163, allocations: 174 kB / 1.295 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.164, allocations: 146.6 kB / 1.296 GB, free: 14.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.164, allocations: 336.3 kB / 1.296 GB, free: 13.7 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/1.164, allocations: 248.3 kB / 1.296 GB, free: 13.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/1.165, allocations: 0.5519 MB / 1.297 GB, free: 13.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/1.165, allocations: 0.8037 MB / 1.297 GB, free: 13.07 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/1.166, allocations: 2.531 kB / 1.297 GB, free: 13.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001245/1.167, allocations: 0.8461 MB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.167, allocations: 9.875 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.167, allocations: 7.656 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/1.167, allocations: 16.09 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/1.167, allocations: 159.2 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/1.168, allocations: 17.66 kB / 1.298 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/1.168, allocations: 92.91 kB / 1.299 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/1.168, allocations: 34.59 kB / 1.299 GB, free: 12.93 MB / 1.014 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.0005241/1.169, allocations: 329.2 kB / 1.299 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.169, allocations: 88.41 kB / 1.299 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.17, allocations: 0.614 MB / 1.3 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/1.17, allocations: 5.406 kB / 1.3 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/1.17, allocations: 0.8125 kB / 1.3 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006729/1.171, allocations: 0.524 MB / 1.3 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/1.173, allocations: 1.671 MB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.173, allocations: 2.031 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/1.174, allocations: 111.1 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/1.174, allocations: 4.906 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/1.174, allocations: 16.84 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.174, allocations: 2.75 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.174, allocations: 5.109 kB / 1.302 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/1.175, allocations: 1.027 MB / 1.303 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1.176, allocations: 222.5 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/1.176, allocations: 11.56 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/1.176, allocations: 18.02 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.123e-05/1.176, allocations: 32.08 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/1.176, allocations: 20.77 kB / 1.303 GB, free: 11.86 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006586/1.177, allocations: 0.5196 MB / 1.304 GB, free: 11.76 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.2e-07/1.177, allocations: 0 / 1.304 GB, free: 11.76 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001106/1.178, allocations: 298.2 kB / 1.304 GB, free: 11.72 MB / 1.014 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.001909/1.18, allocations: 1.669 MB / 1.306 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001316/1.181, allocations: 0.713 MB / 1.306 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.181, allocations: 4.969 kB / 1.306 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/1.182, allocations: 269.9 kB / 1.307 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.184, allocations: 453.4 kB / 1.307 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009755/1.194, allocations: 7.496 MB / 1.314 GB, free: 7.691 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/1.194, allocations: 1.122 MB / 1.315 GB, free: 6.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009315/1.195, allocations: 261.2 kB / 1.316 GB, free: 6.938 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/1.196, allocations: 365.8 kB / 1.316 GB, free: 6.93 MB / 1.014 GB Notification: Performance of SimCode: time 8.02e-07/1.196, allocations: 1.406 kB / 1.316 GB, free: 6.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04518/1.241, allocations: 22.87 MB / 1.338 GB, free: 2.332 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/9.569, allocations: 20.92 kB / 1.338 GB, free: 2.324 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches