Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001768/0.001768, 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.002268/0.002268, allocations: 208 kB / 22.25 MB, free: 5.082 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.744/2.744, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_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.002139/0.002139, allocations: 69.67 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3691, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2302/0.5994, allocations: 199.1 MB / 1.478 GB, free: 3.82 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0204/0.6198, allocations: 14.51 MB / 1.492 GB, free: 5.27 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.6215, allocations: 47.62 kB / 1.492 GB, free: 5.223 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.6232, allocations: 0.5163 MB / 1.493 GB, free: 4.703 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/0.6285, allocations: 1.995 MB / 1.495 GB, free: 2.699 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6314, allocations: 0.907 MB / 1.495 GB, free: 1.797 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004221/0.6356, allocations: 2.632 MB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.6371, allocations: 0.7997 MB / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004916/0.6421, allocations: 1.693 MB / 1.5 GB, free: 12.66 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.6442, allocations: 0.9911 MB / 1.501 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.6444, allocations: 108 kB / 1.502 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.647, allocations: 1.189 MB / 1.503 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005931/0.6476, allocations: 0.5064 MB / 1.503 GB, free: 9.859 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.000881/0.6485, allocations: 0.6339 MB / 1.504 GB, free: 9.223 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.6518, allocations: 1.915 MB / 1.506 GB, free: 7.301 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6519, allocations: 3.938 kB / 1.506 GB, free: 7.297 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6519, allocations: 0 / 1.506 GB, free: 7.297 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.6519, allocations: 0 / 1.506 GB, free: 7.297 MB / 1.201 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.002663/0.6545, allocations: 1.411 MB / 1.507 GB, free: 5.852 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6546, allocations: 8.031 kB / 1.507 GB, free: 5.844 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.6548, allocations: 143.6 kB / 1.507 GB, free: 5.695 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/0.6561, allocations: 259 kB / 1.507 GB, free: 5.441 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6577, allocations: 0.7284 MB / 1.508 GB, free: 4.684 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.6577, allocations: 66 kB / 1.508 GB, free: 4.621 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.6579, allocations: 95.95 kB / 1.508 GB, free: 4.527 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.6597, allocations: 1.173 MB / 1.509 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.6598, allocations: 3.938 kB / 1.509 GB, free: 3.277 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.6599, allocations: 47.94 kB / 1.509 GB, free: 3.23 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.6599, allocations: 34 kB / 1.51 GB, free: 3.199 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.6614, allocations: 0.8976 MB / 1.51 GB, free: 2.301 MB / 1.201 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.006928/0.6683, allocations: 5.696 MB / 1.516 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.6692, allocations: 0.5063 MB / 1.516 GB, free: 11.64 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.6697, allocations: 306.5 kB / 1.517 GB, free: 11.34 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/0.6702, allocations: 80.41 kB / 1.517 GB, free: 11.26 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.6702, allocations: 39 kB / 1.517 GB, free: 11.21 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.6702, allocations: 4 kB / 1.517 GB, free: 11.21 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.001689/0.6719, allocations: 0.803 MB / 1.518 GB, free: 10.4 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.672, allocations: 59.84 kB / 1.518 GB, free: 10.33 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.673, allocations: 0.7432 MB / 1.518 GB, free: 9.574 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/0.673, allocations: 37.7 kB / 1.518 GB, free: 9.531 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.6735, allocations: 0.5194 MB / 1.519 GB, free: 9.004 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.6737, allocations: 186.4 kB / 1.519 GB, free: 8.82 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.6739, allocations: 146.6 kB / 1.519 GB, free: 8.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6741, allocations: 337.9 kB / 1.52 GB, free: 8.332 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.6744, allocations: 245.9 kB / 1.52 GB, free: 8.094 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/0.6751, allocations: 0.5546 MB / 1.52 GB, free: 7.402 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.6763, allocations: 0.7995 MB / 1.521 GB, free: 6.496 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6763, allocations: 8 kB / 1.521 GB, free: 6.488 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001445/0.6777, allocations: 0.8466 MB / 1.522 GB, free: 5.637 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.6777, allocations: 11.94 kB / 1.522 GB, free: 5.625 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6778, allocations: 8 kB / 1.522 GB, free: 5.617 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.6778, allocations: 12 kB / 1.522 GB, free: 5.605 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.6784, allocations: 152.4 kB / 1.522 GB, free: 5.457 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.686e-05/0.6784, allocations: 19.92 kB / 1.522 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.6791, allocations: 95.33 kB / 1.522 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/0.6792, allocations: 32 kB / 1.522 GB, free: 5.312 MB / 1.217 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.0005094/0.6797, allocations: 337.5 kB / 1.523 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.6798, allocations: 87.44 kB / 1.523 GB, free: 4.887 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.6809, allocations: 0.6218 MB / 1.523 GB, free: 4.254 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6809, allocations: 8 kB / 1.523 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6809, allocations: 0 / 1.523 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007594/0.6816, allocations: 0.5211 MB / 1.524 GB, free: 3.715 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.6843, allocations: 1.647 MB / 1.525 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.6843, allocations: 0 / 1.525 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.6848, allocations: 115.8 kB / 1.526 GB, free: 1.883 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6848, allocations: 4 kB / 1.526 GB, free: 1.879 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.6849, allocations: 12 kB / 1.526 GB, free: 1.867 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6849, allocations: 4 kB / 1.526 GB, free: 1.863 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6849, allocations: 8 kB / 1.526 GB, free: 1.855 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.6863, allocations: 1.023 MB / 1.527 GB, free: 0.793 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.6867, allocations: 155.4 kB / 1.527 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.6868, allocations: 19.98 kB / 1.527 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00044/0.6872, allocations: 12 kB / 1.527 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.6873, allocations: 35.94 kB / 1.527 GB, free: 0.5742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.6874, allocations: 23.92 kB / 1.527 GB, free: 0.5508 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006946/0.6881, allocations: 0.5146 MB / 1.527 GB, free: 44 kB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6881, allocations: 0 / 1.527 GB, free: 44 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009487/0.689, allocations: 299.4 kB / 1.528 GB, free: 15.75 MB / 1.232 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.002091/0.6911, allocations: 1.659 MB / 1.529 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.6921, allocations: 0.5805 MB / 1.53 GB, free: 13.46 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6921, allocations: 0.6875 kB / 1.53 GB, free: 13.46 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.6925, allocations: 259.7 kB / 1.53 GB, free: 13.21 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.6945, allocations: 438.5 kB / 1.53 GB, free: 12.79 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.7049, allocations: 7.24 MB / 1.538 GB, free: 5.156 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.7057, allocations: 1.121 MB / 1.539 GB, free: 4.008 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009122/0.7066, allocations: 271 kB / 1.539 GB, free: 3.738 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005107/0.7071, allocations: 359.3 kB / 1.539 GB, free: 3.387 MB / 1.232 GB Notification: Performance of SimCode: time 6.51e-07/0.7071, allocations: 0 / 1.539 GB, free: 3.387 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06756/0.7747, allocations: 23.83 MB / 1.563 GB, free: 11.96 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.38, allocations: 11.91 kB / 1.563 GB, free: 11.95 MB / 1.264 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.13257709899881]