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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 108.2 kB / 17.54 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 182.7 kB / 20.71 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 225.6 MB / 249.3 MB, free: 3.219 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 476.7 MB / 0.7628 GB, free: 15.26 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 68.03 kB / 1.107 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7519/0.7537, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2062/0.9599, allocations: 196.2 MB / 1.463 GB, free: 388 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.9772, allocations: 14.48 MB / 1.477 GB, free: 1.855 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.9783, allocations: 39.75 kB / 1.477 GB, free: 1.816 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.9796, allocations: 0.5124 MB / 1.478 GB, free: 1.301 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.9838, allocations: 1.968 MB / 1.48 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.9858, allocations: 0.8751 MB / 1.48 GB, free: 14.45 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003088/0.9889, allocations: 2.579 MB / 1.483 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.9902, allocations: 0.7946 MB / 1.484 GB, free: 11.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.9942, allocations: 1.66 MB / 1.485 GB, free: 9.402 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.9959, allocations: 0.9886 MB / 1.486 GB, free: 8.41 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.9961, allocations: 112 kB / 1.486 GB, free: 8.301 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.9984, allocations: 1.165 MB / 1.488 GB, free: 7.133 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005351/0.9989, allocations: 0.5025 MB / 1.488 GB, free: 6.629 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0007391/0.9996, allocations: 0.6377 MB / 1.489 GB, free: 5.988 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/1.002, allocations: 1.919 MB / 1.491 GB, free: 4.062 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.002, allocations: 3.938 kB / 1.491 GB, free: 4.059 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.945e-06/1.002, allocations: 4 kB / 1.491 GB, free: 4.055 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.579e-05/1.002, allocations: 0 / 1.491 GB, free: 4.055 MB / 1.17 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.002219/1.004, allocations: 1.475 MB / 1.492 GB, free: 2.527 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/1.005, allocations: 12.03 kB / 1.492 GB, free: 2.516 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001764/1.005, allocations: 151.5 kB / 1.492 GB, free: 2.359 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/1.006, allocations: 266.9 kB / 1.492 GB, free: 2.098 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.007, allocations: 0.7966 MB / 1.493 GB, free: 1.254 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/1.007, allocations: 73.98 kB / 1.493 GB, free: 1.184 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/1.007, allocations: 88 kB / 1.493 GB, free: 1.098 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/1.009, allocations: 1.169 MB / 1.494 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/1.009, allocations: 7.922 kB / 1.495 GB, free: 15.85 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/1.009, allocations: 39.94 kB / 1.495 GB, free: 15.81 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.132e-05/1.009, allocations: 38 kB / 1.495 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/1.011, allocations: 0.9015 MB / 1.495 GB, free: 14.87 MB / 1.186 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.0057/1.016, allocations: 5.752 MB / 1.501 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/1.017, allocations: 0.5175 MB / 1.502 GB, free: 8.137 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/1.018, allocations: 306.5 kB / 1.502 GB, free: 7.832 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/1.018, allocations: 303.7 kB / 1.502 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/1.018, allocations: 47 kB / 1.502 GB, free: 7.426 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 2.144e-06/1.018, allocations: 0 / 1.502 GB, free: 7.426 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001524/1.02, allocations: 0.803 MB / 1.503 GB, free: 6.617 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/1.02, allocations: 55.84 kB / 1.503 GB, free: 6.551 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/1.021, allocations: 0.751 MB / 1.504 GB, free: 5.793 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/1.021, allocations: 37.7 kB / 1.504 GB, free: 5.75 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.021, allocations: 0.5194 MB / 1.504 GB, free: 5.223 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/1.021, allocations: 186.4 kB / 1.505 GB, free: 5.039 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.022, allocations: 142.6 kB / 1.505 GB, free: 4.895 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001706/1.022, allocations: 337.9 kB / 1.505 GB, free: 4.559 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/1.022, allocations: 253.8 kB / 1.505 GB, free: 4.312 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/1.023, allocations: 0.5546 MB / 1.506 GB, free: 3.621 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/1.024, allocations: 0.7956 MB / 1.507 GB, free: 2.719 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.024, allocations: 4 kB / 1.507 GB, free: 2.715 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001304/1.025, allocations: 0.8503 MB / 1.507 GB, free: 1.855 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.025, allocations: 11.44 kB / 1.507 GB, free: 1.848 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.025, allocations: 8 kB / 1.507 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.025, allocations: 12 kB / 1.507 GB, free: 1.828 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/1.026, allocations: 159.7 kB / 1.508 GB, free: 1.672 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/1.026, allocations: 15.94 kB / 1.508 GB, free: 1.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/1.026, allocations: 91.33 kB / 1.508 GB, free: 1.566 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/1.027, allocations: 35.98 kB / 1.508 GB, free: 1.531 MB / 1.186 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.000418/1.027, allocations: 329.4 kB / 1.508 GB, free: 1.199 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.027, allocations: 95.38 kB / 1.508 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/1.028, allocations: 0.6219 MB / 1.509 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.028, allocations: 7.938 kB / 1.509 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.028, allocations: 0 / 1.509 GB, free: 476 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007502/1.029, allocations: 0.5212 MB / 1.509 GB, free: 15.93 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/1.031, allocations: 1.671 MB / 1.511 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.031, allocations: 4 kB / 1.511 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/1.032, allocations: 107.8 kB / 1.511 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.032, allocations: 4 kB / 1.511 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/1.032, allocations: 19.98 kB / 1.511 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.032, allocations: 4 kB / 1.511 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/1.032, allocations: 4.219 kB / 1.511 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.033, allocations: 1.023 MB / 1.512 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/1.033, allocations: 232.6 kB / 1.512 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/1.033, allocations: 12 kB / 1.512 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/1.034, allocations: 19.97 kB / 1.512 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/1.034, allocations: 31.91 kB / 1.512 GB, free: 12.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/1.034, allocations: 19.98 kB / 1.512 GB, free: 12.65 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006507/1.035, allocations: 0.5107 MB / 1.513 GB, free: 12.14 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.21e-07/1.035, allocations: 4 kB / 1.513 GB, free: 12.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007796/1.035, allocations: 303.4 kB / 1.513 GB, free: 11.84 MB / 1.201 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.002022/1.037, allocations: 1.665 MB / 1.515 GB, free: 10.14 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009214/1.038, allocations: 0.588 MB / 1.515 GB, free: 9.555 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.038, allocations: 4 kB / 1.515 GB, free: 9.551 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003628/1.039, allocations: 259.5 kB / 1.516 GB, free: 9.297 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/1.041, allocations: 443 kB / 1.516 GB, free: 8.871 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/1.05, allocations: 7.243 MB / 1.523 GB, free: 1.246 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/1.051, allocations: 1.122 MB / 1.524 GB, free: 100 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0007321/1.051, allocations: 267.1 kB / 1.524 GB, free: 15.83 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004748/1.052, allocations: 359.2 kB / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of SimCode: time 5.31e-07/1.052, allocations: 4 kB / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/1.107, allocations: 23.26 MB / 1.547 GB, free: 8.562 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/9.52, allocations: 16.5 kB / 1.547 GB, free: 8.551 MB / 1.233 GB " [Timeout remaining time 290] (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 --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: 14.804966568000964]