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.001652/0.001652, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001473/0.001473, allocations: 223.2 kB / 23.05 MB, free: 5.074 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8 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.92/2.92, allocations: 476.7 MB / 0.7715 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="cs",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.002064/0.002064, allocations: 61.69 kB / 1.118 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 169.9 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2442/0.5887, allocations: 199.1 MB / 1.479 GB, free: 3.891 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.6083, allocations: 14.51 MB / 1.493 GB, free: 5.344 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.61, allocations: 47.56 kB / 1.493 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001702/0.6117, allocations: 0.5241 MB / 1.493 GB, free: 4.77 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004979/0.6167, allocations: 1.993 MB / 1.495 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.6191, allocations: 0.9056 MB / 1.496 GB, free: 1.867 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.6228, allocations: 2.642 MB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.6243, allocations: 0.8037 MB / 1.5 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.6296, allocations: 1.684 MB / 1.501 GB, free: 12.72 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.6317, allocations: 0.9945 MB / 1.502 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.6319, allocations: 112 kB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.6347, allocations: 1.181 MB / 1.503 GB, free: 10.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006951/0.6354, allocations: 0.5064 MB / 1.504 GB, free: 9.926 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.6364, allocations: 0.6338 MB / 1.505 GB, free: 9.289 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.6399, allocations: 1.915 MB / 1.506 GB, free: 7.367 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.6399, allocations: 3.938 kB / 1.506 GB, free: 7.363 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.113e-06/0.6399, allocations: 0 / 1.506 GB, free: 7.363 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.6399, allocations: 3.938 kB / 1.506 GB, free: 7.359 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.002954/0.6429, allocations: 1.407 MB / 1.508 GB, free: 5.918 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.6429, allocations: 12.03 kB / 1.508 GB, free: 5.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.133e-05/0.643, allocations: 26 kB / 1.508 GB, free: 5.879 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002028/0.6432, allocations: 151.5 kB / 1.508 GB, free: 5.723 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.6446, allocations: 259 kB / 1.508 GB, free: 5.469 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.6461, allocations: 0.7207 MB / 1.509 GB, free: 4.723 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.6461, allocations: 66 kB / 1.509 GB, free: 4.656 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6463, allocations: 96 kB / 1.509 GB, free: 4.562 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.6481, allocations: 1.176 MB / 1.51 GB, free: 3.316 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6481, allocations: 7.938 kB / 1.51 GB, free: 3.309 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/0.6482, allocations: 36 kB / 1.51 GB, free: 3.273 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.943e-05/0.6483, allocations: 34 kB / 1.51 GB, free: 3.238 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.6498, allocations: 0.9054 MB / 1.511 GB, free: 2.332 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.006268/0.656, allocations: 5.688 MB / 1.517 GB, free: 12.19 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.6569, allocations: 0.5087 MB / 1.517 GB, free: 11.67 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004442/0.6574, allocations: 294.6 kB / 1.518 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.6578, allocations: 88.41 kB / 1.518 GB, free: 11.29 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6579, allocations: 35 kB / 1.518 GB, free: 11.25 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 2.064e-06/0.6579, allocations: 0 / 1.518 GB, free: 11.25 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.001565/0.6594, allocations: 0.8069 MB / 1.518 GB, free: 10.44 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6595, allocations: 55.84 kB / 1.518 GB, free: 10.37 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6605, allocations: 0.7548 MB / 1.519 GB, free: 9.609 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.6605, allocations: 41.7 kB / 1.519 GB, free: 9.562 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.661, allocations: 0.5116 MB / 1.52 GB, free: 9.043 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.6612, allocations: 186.4 kB / 1.52 GB, free: 8.859 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.6614, allocations: 146.6 kB / 1.52 GB, free: 8.707 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6615, allocations: 334 kB / 1.52 GB, free: 8.375 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.6619, allocations: 241.9 kB / 1.521 GB, free: 8.141 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/0.6626, allocations: 0.5508 MB / 1.521 GB, free: 7.453 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.6637, allocations: 0.8073 MB / 1.522 GB, free: 6.539 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.6637, allocations: 4 kB / 1.522 GB, free: 6.535 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001401/0.6651, allocations: 0.8471 MB / 1.523 GB, free: 5.684 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6651, allocations: 12 kB / 1.523 GB, free: 5.672 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6651, allocations: 12.09 kB / 1.523 GB, free: 5.66 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.6651, allocations: 12 kB / 1.523 GB, free: 5.648 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.6657, allocations: 155.7 kB / 1.523 GB, free: 5.496 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.6657, allocations: 15.94 kB / 1.523 GB, free: 5.48 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.6664, allocations: 91.33 kB / 1.523 GB, free: 5.391 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.19e-05/0.6665, allocations: 36 kB / 1.523 GB, free: 5.355 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.0004692/0.667, allocations: 329.5 kB / 1.523 GB, free: 5.023 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6671, allocations: 95.44 kB / 1.523 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.6682, allocations: 0.6295 MB / 1.524 GB, free: 4.293 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.6682, allocations: 7.984 kB / 1.524 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6682, allocations: 0 / 1.524 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007583/0.669, allocations: 0.5211 MB / 1.525 GB, free: 3.754 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.6715, allocations: 1.65 MB / 1.526 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6715, allocations: 0 / 1.526 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.6721, allocations: 111.9 kB / 1.526 GB, free: 1.922 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6721, allocations: 4 kB / 1.526 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.6721, allocations: 16.22 kB / 1.526 GB, free: 1.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.6721, allocations: 8 kB / 1.526 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6721, allocations: 0 / 1.526 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6736, allocations: 1.019 MB / 1.527 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.6739, allocations: 155.3 kB / 1.528 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.674, allocations: 12 kB / 1.528 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.6745, allocations: 19.98 kB / 1.528 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.6745, allocations: 35.88 kB / 1.528 GB, free: 0.6172 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.6746, allocations: 16 kB / 1.528 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006768/0.6753, allocations: 0.5185 MB / 1.528 GB, free: 88 kB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6753, allocations: 0 / 1.528 GB, free: 88 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009143/0.6762, allocations: 299.4 kB / 1.528 GB, free: 15.79 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.002088/0.6783, allocations: 1.667 MB / 1.53 GB, free: 14.08 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.6793, allocations: 0.5807 MB / 1.531 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6793, allocations: 0 / 1.531 GB, free: 13.5 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.6797, allocations: 259.6 kB / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.6818, allocations: 448.5 kB / 1.531 GB, free: 12.82 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.6924, allocations: 7.23 MB / 1.538 GB, free: 5.195 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008269/0.6932, allocations: 1.129 MB / 1.539 GB, free: 4.039 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008233/0.694, allocations: 259.1 kB / 1.54 GB, free: 3.781 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/0.6945, allocations: 367.3 kB / 1.54 GB, free: 3.422 MB / 1.232 GB Notification: Performance of SimCode: time 1.222e-06/0.6945, allocations: 0 / 1.54 GB, free: 3.422 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0557/0.7502, allocations: 23.85 MB / 1.563 GB, free: 11.98 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.87, allocations: 11.55 kB / 1.563 GB, free: 11.98 MB / 1.264 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.004230417020153]