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.0009135/0.0009135, 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.0007904/0.0007904, allocations: 170.3 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.8873/0.8873, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.681/1.681, allocations: 377.8 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.764e-05, allocations: 2.281 kB / 0.981 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.5916/0.5916, allocations: 172.5 MB / 1.149 GB, free: 12.67 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.6056, allocations: 13.13 MB / 1.162 GB, free: 3.867 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.6071, allocations: 50.69 kB / 1.162 GB, free: 3.84 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.6085, allocations: 0.4969 MB / 1.163 GB, free: 3.547 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.6135, allocations: 1.985 MB / 1.165 GB, free: 2.477 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.616, allocations: 0.9501 MB / 1.166 GB, free: 1.984 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.6198, allocations: 2.624 MB / 1.168 GB, free: 0.7617 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.621, allocations: 0.7899 MB / 1.169 GB, free: 392 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.6255, allocations: 2.199 MB / 1.171 GB, free: 15.43 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.6271, allocations: 0.8749 MB / 1.172 GB, free: 15.14 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.6272, allocations: 106.9 kB / 1.172 GB, free: 15.14 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6292, allocations: 0.9273 MB / 1.173 GB, free: 14.82 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.6297, allocations: 0.5349 MB / 1.174 GB, free: 14.59 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005652/0.6303, allocations: 456.8 kB / 1.174 GB, free: 14.41 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.633, allocations: 1.95 MB / 1.176 GB, free: 13.72 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.633, allocations: 1 kB / 1.176 GB, free: 13.72 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.884e-06/0.633, allocations: 0 / 1.176 GB, free: 13.72 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.633, allocations: 0 / 1.176 GB, free: 13.72 MB / 1.026 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.001766/0.6348, allocations: 1.407 MB / 1.177 GB, free: 12.8 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.6348, allocations: 9.469 kB / 1.177 GB, free: 12.8 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.6349, allocations: 142.3 kB / 1.177 GB, free: 12.71 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000821/0.6358, allocations: 257.3 kB / 1.178 GB, free: 12.63 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009559/0.6367, allocations: 0.7422 MB / 1.178 GB, free: 12.19 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.6368, allocations: 67.47 kB / 1.178 GB, free: 12.16 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6369, allocations: 97.41 kB / 1.179 GB, free: 12.13 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.6382, allocations: 1.296 MB / 1.18 GB, free: 11.41 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.6382, allocations: 5 kB / 1.18 GB, free: 11.4 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.6382, allocations: 42.31 kB / 1.18 GB, free: 11.37 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.6383, allocations: 35.36 kB / 1.18 GB, free: 11.37 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009765/0.6393, allocations: 0.8986 MB / 1.181 GB, free: 11.07 MB / 1.026 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.00362/0.6429, allocations: 4.123 MB / 1.185 GB, free: 8.191 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007732/0.6437, allocations: 0.5082 MB / 1.185 GB, free: 7.992 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.644, allocations: 300 kB / 1.186 GB, free: 7.879 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003074/0.6443, allocations: 85.64 kB / 1.186 GB, free: 7.867 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6443, allocations: 41.05 kB / 1.186 GB, free: 7.82 MB / 1.026 GB Notification: Performance of pre-optimization done (n=49): time 2.675e-06/0.6443, allocations: 0 / 1.186 GB, free: 7.82 MB / 1.026 GB Notification: Performance of matching and sorting (n=49): time 0.001082/0.6454, allocations: 0.8077 MB / 1.186 GB, free: 7.508 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.6454, allocations: 57.44 kB / 1.187 GB, free: 7.445 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.6461, allocations: 0.7701 MB / 1.187 GB, free: 7.121 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.6462, allocations: 37.23 kB / 1.187 GB, free: 7.082 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.6464, allocations: 0.5271 MB / 1.188 GB, free: 6.656 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6466, allocations: 178.5 kB / 1.188 GB, free: 6.516 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.6467, allocations: 146 kB / 1.188 GB, free: 6.441 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.72e-05/0.6468, allocations: 339.9 kB / 1.188 GB, free: 6.121 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.6471, allocations: 247.7 kB / 1.189 GB, free: 6.035 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.6476, allocations: 0.8273 MB / 1.19 GB, free: 5.23 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.6484, allocations: 0.8044 MB / 1.19 GB, free: 4.684 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6484, allocations: 3.031 kB / 1.19 GB, free: 4.684 MB / 1.026 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00125/0.6496, allocations: 0.8534 MB / 1.191 GB, free: 4.324 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.6497, allocations: 10.98 kB / 1.191 GB, free: 4.324 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.6497, allocations: 7.062 kB / 1.191 GB, free: 4.324 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.6497, allocations: 12.94 kB / 1.191 GB, free: 4.324 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.6501, allocations: 153.4 kB / 1.191 GB, free: 4.309 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.6501, allocations: 17.61 kB / 1.191 GB, free: 4.305 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.6506, allocations: 97.36 kB / 1.191 GB, free: 4.242 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-05/0.6506, allocations: 38.88 kB / 1.191 GB, free: 4.234 MB / 1.026 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.0003724/0.651, allocations: 332.5 kB / 1.192 GB, free: 4.02 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/0.6511, allocations: 90.06 kB / 1.192 GB, free: 3.973 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007115/0.6518, allocations: 0.6146 MB / 1.192 GB, free: 3.711 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6518, allocations: 3.812 kB / 1.192 GB, free: 3.711 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6518, allocations: 3.062 kB / 1.192 GB, free: 3.711 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005141/0.6523, allocations: 0.5211 MB / 1.193 GB, free: 3.484 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.654, allocations: 1.548 MB / 1.194 GB, free: 2.695 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.654, allocations: 2.406 kB / 1.194 GB, free: 2.695 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6543, allocations: 109.4 kB / 1.195 GB, free: 2.688 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.6543, allocations: 2.75 kB / 1.195 GB, free: 2.688 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.6543, allocations: 18.53 kB / 1.195 GB, free: 2.676 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.6543, allocations: 10.19 kB / 1.195 GB, free: 2.672 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6543, allocations: 6.5 kB / 1.195 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.6553, allocations: 1.017 MB / 1.196 GB, free: 2.148 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.6555, allocations: 147 kB / 1.196 GB, free: 2.07 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/0.6556, allocations: 21.38 kB / 1.196 GB, free: 2.055 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.6558, allocations: 21.34 kB / 1.196 GB, free: 2.043 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.6559, allocations: 33.55 kB / 1.196 GB, free: 2.039 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.6559, allocations: 20 kB / 1.196 GB, free: 2.035 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004922/0.6564, allocations: 0.5173 MB / 1.196 GB, free: 1.824 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6564, allocations: 0 / 1.196 GB, free: 1.824 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0009627/0.6573, allocations: 303.5 kB / 1.197 GB, free: 1.762 MB / 1.026 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.001851/0.6592, allocations: 1.666 MB / 1.198 GB, free: 0.668 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.66, allocations: 0.5822 MB / 1.199 GB, free: 488 kB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.66, allocations: 0 / 1.199 GB, free: 488 kB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.6603, allocations: 266.5 kB / 1.199 GB, free: 396 kB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.6615, allocations: 439.9 kB / 1.2 GB, free: 268 kB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.6681, allocations: 7.176 MB / 1.207 GB, free: 11.9 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6685, allocations: 0.5263 MB / 1.207 GB, free: 11.59 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005656/0.669, allocations: 266.7 kB / 1.207 GB, free: 11.48 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.6694, allocations: 363.6 kB / 1.208 GB, free: 11.18 MB / 1.042 GB Notification: Performance of SimCode: time 9.22e-07/0.6694, allocations: 0 / 1.208 GB, free: 11.18 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.7076, allocations: 25.54 MB / 1.233 GB, free: 8.254 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.887/7.594, allocations: 2.812 kB / 1.233 GB, free: 8.254 MB / 1.057 GB " [Timeout remaining time 292] (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/jenkins/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: 11.670339254662395]