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.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.0008859/0.0008859, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009581/0.0009581, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8686/0.8686, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.283e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5792/0.5792, allocations: 172.5 MB / 1.168 GB, free: 7.156 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.5915, allocations: 13.08 MB / 1.181 GB, free: 14.38 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.5928, allocations: 47.12 kB / 1.181 GB, free: 14.36 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.594, allocations: 0.497 MB / 1.181 GB, free: 14.07 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.5977, allocations: 1.988 MB / 1.183 GB, free: 12.99 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.5998, allocations: 0.9274 MB / 1.184 GB, free: 12.52 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.003761/0.6035, allocations: 2.598 MB / 1.187 GB, free: 11.3 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.6046, allocations: 0.7604 MB / 1.188 GB, free: 10.94 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004248/0.6088, allocations: 2.182 MB / 1.19 GB, free: 10 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.61, allocations: 0.877 MB / 1.191 GB, free: 9.707 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.6101, allocations: 106.7 kB / 1.191 GB, free: 9.707 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.6117, allocations: 0.9313 MB / 1.192 GB, free: 9.387 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003877/0.6121, allocations: 0.5266 MB / 1.192 GB, free: 9.156 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.6125, allocations: 464.6 kB / 1.193 GB, free: 8.969 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.6147, allocations: 1.945 MB / 1.194 GB, free: 8.289 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6148, allocations: 0 / 1.194 GB, free: 8.289 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6148, allocations: 7.938 kB / 1.194 GB, free: 8.281 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.388e-05/0.6148, allocations: 1.25 kB / 1.194 GB, free: 8.281 MB / 1.042 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.002223/0.617, allocations: 1.394 MB / 1.196 GB, free: 7.367 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6171, allocations: 9.344 kB / 1.196 GB, free: 7.367 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.6172, allocations: 144.1 kB / 1.196 GB, free: 7.273 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008843/0.6181, allocations: 263.8 kB / 1.196 GB, free: 7.191 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.6191, allocations: 0.7195 MB / 1.197 GB, free: 6.77 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.6192, allocations: 73.56 kB / 1.197 GB, free: 6.734 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6193, allocations: 94.38 kB / 1.197 GB, free: 6.703 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.6207, allocations: 1.297 MB / 1.198 GB, free: 5.984 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.6207, allocations: 5.688 kB / 1.198 GB, free: 5.98 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.6209, allocations: 38.22 kB / 1.198 GB, free: 5.953 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.6209, allocations: 32.56 kB / 1.198 GB, free: 5.949 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.6221, allocations: 0.9033 MB / 1.199 GB, free: 5.645 MB / 1.042 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.003647/0.6258, allocations: 4.129 MB / 1.203 GB, free: 2.617 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.6264, allocations: 0.5054 MB / 1.204 GB, free: 2.359 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002703/0.6266, allocations: 300 kB / 1.204 GB, free: 2.207 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.6269, allocations: 78.72 kB / 1.204 GB, free: 2.18 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6269, allocations: 41.78 kB / 1.204 GB, free: 2.133 MB / 1.042 GB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.6269, allocations: 0 / 1.204 GB, free: 2.133 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.00103/0.628, allocations: 0.8139 MB / 1.205 GB, free: 1.727 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.628, allocations: 56.03 kB / 1.205 GB, free: 1.664 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.6286, allocations: 0.7648 MB / 1.206 GB, free: 1.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.6286, allocations: 37.45 kB / 1.206 GB, free: 1.191 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.6289, allocations: 0.5146 MB / 1.206 GB, free: 0.7305 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.629, allocations: 185.7 kB / 1.207 GB, free: 0.5703 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.6291, allocations: 141.9 kB / 1.207 GB, free: 500 kB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6293, allocations: 336.8 kB / 1.207 GB, free: 164 kB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.6295, allocations: 248.5 kB / 1.207 GB, free: 40 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.63, allocations: 0.8418 MB / 1.208 GB, free: 15.17 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.6306, allocations: 0.7922 MB / 1.209 GB, free: 14.57 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6306, allocations: 2.906 kB / 1.209 GB, free: 14.57 MB / 1.057 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008587/0.6314, allocations: 0.8547 MB / 1.21 GB, free: 14.13 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.6315, allocations: 8.344 kB / 1.21 GB, free: 14.13 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.6315, allocations: 12.72 kB / 1.21 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6315, allocations: 11.03 kB / 1.21 GB, free: 14.12 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.6318, allocations: 156.8 kB / 1.21 GB, free: 14.09 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6318, allocations: 14.62 kB / 1.21 GB, free: 14.09 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.6322, allocations: 92.42 kB / 1.21 GB, free: 14.02 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.6323, allocations: 37.52 kB / 1.21 GB, free: 14.02 MB / 1.057 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.0002993/0.6326, allocations: 329 kB / 1.21 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.581e-05/0.6327, allocations: 91.19 kB / 1.21 GB, free: 13.73 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006312/0.6333, allocations: 0.6269 MB / 1.211 GB, free: 13.37 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6333, allocations: 4.438 kB / 1.211 GB, free: 13.37 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6333, allocations: 0 / 1.211 GB, free: 13.37 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000439/0.6337, allocations: 0.5166 MB / 1.212 GB, free: 13.09 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6352, allocations: 1.542 MB / 1.213 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6352, allocations: 2.719 kB / 1.213 GB, free: 12.08 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.6355, allocations: 109.3 kB / 1.213 GB, free: 12.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.6355, allocations: 5.188 kB / 1.213 GB, free: 12.06 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.6355, allocations: 17.47 kB / 1.213 GB, free: 12.05 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.6356, allocations: 9.625 kB / 1.213 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6356, allocations: 2.688 kB / 1.213 GB, free: 12.04 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008322/0.6364, allocations: 1.016 MB / 1.214 GB, free: 11.43 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.6366, allocations: 155.6 kB / 1.214 GB, free: 11.32 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.6367, allocations: 18.34 kB / 1.214 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.6369, allocations: 17.3 kB / 1.214 GB, free: 11.3 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.6369, allocations: 37.06 kB / 1.214 GB, free: 11.28 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.6369, allocations: 17.41 kB / 1.214 GB, free: 11.27 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004022/0.6374, allocations: 0.5103 MB / 1.215 GB, free: 10.98 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6374, allocations: 4 kB / 1.215 GB, free: 10.98 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006534/0.638, allocations: 307.1 kB / 1.215 GB, free: 10.91 MB / 1.057 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.001538/0.6395, allocations: 1.656 MB / 1.217 GB, free: 9.727 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0006156/0.6402, allocations: 0.5863 MB / 1.217 GB, free: 9.457 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6402, allocations: 3.219 kB / 1.217 GB, free: 9.457 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.6404, allocations: 266.3 kB / 1.218 GB, free: 9.332 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6414, allocations: 434.7 kB / 1.218 GB, free: 9.109 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006756/0.6482, allocations: 7.146 MB / 1.225 GB, free: 4.293 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.6486, allocations: 0.5277 MB / 1.226 GB, free: 3.734 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.000894/0.6495, allocations: 267.1 kB / 1.226 GB, free: 3.469 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.6498, allocations: 360.4 kB / 1.226 GB, free: 3.117 MB / 1.057 GB Notification: Performance of SimCode: time 1.473e-06/0.6498, allocations: 4 kB / 1.226 GB, free: 3.113 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.6835, allocations: 25.31 MB / 1.251 GB, free: 10.33 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.639, allocations: 2.5 kB / 1.251 GB, free: 10.33 MB / 1.089 GB " [Timeout remaining time 292] (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 800 --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) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraSou.V from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable vol.C[1] in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable vol.C[1] from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSub.C in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSub.C from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senTraSubNoFlorRev.C in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senTraSubNoFlorRev.C from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable senPPM.ppm in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable senPPM.ppm from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! Error: Could not read variable masFraVol.V in file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv. Warning: Get data of variable masFraVol.V from file Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.758648229762912]