Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 210.3 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.335/1.335, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.888/2.888, allocations: 0.49 GB / 0.7951 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 74.98 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2148/0.5114, allocations: 199.2 MB / 1.52 GB, free: 9.953 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.529, allocations: 14.52 MB / 1.535 GB, free: 11.39 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.5302, allocations: 47.62 kB / 1.535 GB, free: 11.34 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.5319, allocations: 0.5202 MB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.5376, allocations: 1.992 MB / 1.537 GB, free: 8.82 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.5402, allocations: 0.9021 MB / 1.538 GB, free: 7.922 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.5437, allocations: 2.624 MB / 1.541 GB, free: 5.285 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.5448, allocations: 0.7991 MB / 1.541 GB, free: 4.461 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/0.5493, allocations: 1.916 MB / 1.543 GB, free: 2.559 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.5508, allocations: 0.9731 MB / 1.544 GB, free: 1.582 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.551, allocations: 104 kB / 1.544 GB, free: 1.48 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.553, allocations: 1.169 MB / 1.545 GB, free: 316 kB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004988/0.5535, allocations: 0.5064 MB / 1.546 GB, free: 15.8 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.5542, allocations: 0.6377 MB / 1.547 GB, free: 15.16 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5567, allocations: 1.919 MB / 1.548 GB, free: 13.23 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5567, allocations: 4 kB / 1.548 GB, free: 13.23 MB / 1.248 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5567, allocations: 0 / 1.548 GB, free: 13.23 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.5567, allocations: 0 / 1.548 GB, free: 13.23 MB / 1.248 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.002091/0.5588, allocations: 1.411 MB / 1.55 GB, free: 11.79 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.5588, allocations: 8.031 kB / 1.55 GB, free: 11.78 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.559, allocations: 143.6 kB / 1.55 GB, free: 11.63 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.5602, allocations: 263 kB / 1.55 GB, free: 11.37 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5615, allocations: 0.7331 MB / 1.551 GB, free: 10.61 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.5616, allocations: 74 kB / 1.551 GB, free: 10.54 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5617, allocations: 88 kB / 1.551 GB, free: 10.45 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5634, allocations: 1.173 MB / 1.552 GB, free: 9.207 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.5634, allocations: 3.938 kB / 1.552 GB, free: 9.203 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.5635, allocations: 39.94 kB / 1.552 GB, free: 9.164 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.5635, allocations: 37.94 kB / 1.552 GB, free: 9.125 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.5649, allocations: 0.9093 MB / 1.553 GB, free: 8.215 MB / 1.248 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.005631/0.5705, allocations: 5.748 MB / 1.559 GB, free: 1.996 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.5713, allocations: 0.5144 MB / 1.559 GB, free: 1.477 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.5717, allocations: 298.6 kB / 1.56 GB, free: 1.176 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004662/0.5722, allocations: 84.41 kB / 1.56 GB, free: 1.094 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.5722, allocations: 39 kB / 1.56 GB, free: 1.043 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 1.654e-06/0.5722, allocations: 0 / 1.56 GB, free: 1.043 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001424/0.5737, allocations: 0.8069 MB / 1.56 GB, free: 240 kB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.5737, allocations: 55.84 kB / 1.561 GB, free: 172 kB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.5746, allocations: 0.751 MB / 1.561 GB, free: 15.41 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.5746, allocations: 41.7 kB / 1.561 GB, free: 15.36 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/0.575, allocations: 0.5194 MB / 1.562 GB, free: 14.84 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5752, allocations: 190.4 kB / 1.562 GB, free: 14.65 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.5754, allocations: 146.6 kB / 1.562 GB, free: 14.5 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5756, allocations: 337.9 kB / 1.562 GB, free: 14.16 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.5759, allocations: 241.9 kB / 1.563 GB, free: 13.93 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/0.5765, allocations: 0.5546 MB / 1.563 GB, free: 13.24 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.5776, allocations: 0.8073 MB / 1.564 GB, free: 12.32 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5776, allocations: 4 kB / 1.564 GB, free: 12.32 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001254/0.5788, allocations: 0.8433 MB / 1.565 GB, free: 11.46 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5788, allocations: 14.34 kB / 1.565 GB, free: 11.45 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5789, allocations: 12.12 kB / 1.565 GB, free: 11.44 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.5789, allocations: 15.94 kB / 1.565 GB, free: 11.43 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.5794, allocations: 155.8 kB / 1.565 GB, free: 11.27 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.5794, allocations: 23.91 kB / 1.565 GB, free: 11.25 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.5801, allocations: 91.33 kB / 1.565 GB, free: 11.16 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.5801, allocations: 32 kB / 1.565 GB, free: 11.13 MB / 1.264 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.0004228/0.5806, allocations: 337.4 kB / 1.565 GB, free: 10.79 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.5807, allocations: 91.44 kB / 1.566 GB, free: 10.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009641/0.5817, allocations: 0.6102 MB / 1.566 GB, free: 10.09 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.5817, allocations: 4 kB / 1.566 GB, free: 10.08 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5817, allocations: 0 / 1.566 GB, free: 10.08 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007195/0.5824, allocations: 0.5289 MB / 1.567 GB, free: 9.539 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.5848, allocations: 1.642 MB / 1.568 GB, free: 7.824 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5848, allocations: 8 kB / 1.568 GB, free: 7.816 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.5853, allocations: 111.8 kB / 1.568 GB, free: 7.707 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.5853, allocations: 4 kB / 1.568 GB, free: 7.703 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.5853, allocations: 20.22 kB / 1.568 GB, free: 7.684 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.5854, allocations: 4 kB / 1.568 GB, free: 7.68 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.5854, allocations: 3.938 kB / 1.568 GB, free: 7.676 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.5867, allocations: 1.019 MB / 1.569 GB, free: 6.617 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/0.5871, allocations: 159.3 kB / 1.57 GB, free: 6.461 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.5872, allocations: 12 kB / 1.57 GB, free: 6.449 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.5876, allocations: 15.98 kB / 1.57 GB, free: 6.434 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/0.5876, allocations: 31.88 kB / 1.57 GB, free: 6.402 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.5877, allocations: 23.98 kB / 1.57 GB, free: 6.379 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006304/0.5883, allocations: 0.5107 MB / 1.57 GB, free: 5.871 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.5883, allocations: 0 / 1.57 GB, free: 5.871 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0007952/0.5891, allocations: 311.4 kB / 1.57 GB, free: 5.566 MB / 1.264 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.001957/0.5911, allocations: 1.654 MB / 1.572 GB, free: 3.871 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.000974/0.592, allocations: 0.5844 MB / 1.573 GB, free: 3.285 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.592, allocations: 4 kB / 1.573 GB, free: 3.281 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.5924, allocations: 267.6 kB / 1.573 GB, free: 3.02 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.5941, allocations: 439.3 kB / 1.573 GB, free: 2.602 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.6035, allocations: 7.238 MB / 1.58 GB, free: 10.97 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.6043, allocations: 1.122 MB / 1.581 GB, free: 9.824 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000749/0.605, allocations: 271.1 kB / 1.582 GB, free: 9.555 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.6055, allocations: 359.3 kB / 1.582 GB, free: 9.203 MB / 1.279 GB Notification: Performance of SimCode: time 5.71e-07/0.6055, allocations: 0 / 1.582 GB, free: 9.203 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05735/0.6628, allocations: 23.84 MB / 1.605 GB, free: 1.754 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.79, allocations: 7.922 kB / 1.605 GB, free: 1.746 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_12_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable masFraSou.V in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.284454764001566]