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.001373/0.001373, allocations: 113.3 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.001607/0.001607, allocations: 214.8 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.008 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.816/2.816, 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.002004/0.002004, allocations: 66.09 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3264, allocations: 170 MB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2705/0.5969, allocations: 199.1 MB / 1.478 GB, free: 3.734 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02933/0.6262, allocations: 14.51 MB / 1.492 GB, free: 5.184 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.6278, allocations: 47.62 kB / 1.492 GB, free: 5.137 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.6303, allocations: 0.5241 MB / 1.493 GB, free: 4.609 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.6357, allocations: 1.995 MB / 1.495 GB, free: 2.605 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.6385, allocations: 0.8906 MB / 1.495 GB, free: 1.719 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004311/0.6428, allocations: 2.651 MB / 1.498 GB, free: 15.06 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.6449, allocations: 0.8 MB / 1.499 GB, free: 14.24 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005819/0.6507, allocations: 1.686 MB / 1.5 GB, free: 12.57 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.6534, allocations: 1.002 MB / 1.501 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.6538, allocations: 108 kB / 1.502 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.6569, allocations: 1.181 MB / 1.503 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.6579, allocations: 0.5103 MB / 1.503 GB, free: 9.762 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.6596, allocations: 0.6339 MB / 1.504 GB, free: 9.125 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004205/0.6639, allocations: 1.911 MB / 1.506 GB, free: 7.207 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6639, allocations: 0 / 1.506 GB, free: 7.207 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6639, allocations: 4 kB / 1.506 GB, free: 7.203 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.861e-05/0.6639, allocations: 0 / 1.506 GB, free: 7.203 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.003254/0.6672, allocations: 1.411 MB / 1.507 GB, free: 5.758 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.6672, allocations: 16.03 kB / 1.507 GB, free: 5.742 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002909/0.6675, allocations: 143.6 kB / 1.507 GB, free: 5.594 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.6691, allocations: 263 kB / 1.507 GB, free: 5.336 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.6709, allocations: 0.7167 MB / 1.508 GB, free: 4.59 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.588e-05/0.671, allocations: 81.97 kB / 1.508 GB, free: 4.512 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6711, allocations: 88 kB / 1.508 GB, free: 4.426 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.6731, allocations: 1.175 MB / 1.509 GB, free: 3.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.6732, allocations: 3.938 kB / 1.509 GB, free: 3.176 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.6733, allocations: 43.94 kB / 1.509 GB, free: 3.133 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.6733, allocations: 37.98 kB / 1.51 GB, free: 3.098 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.675, allocations: 0.8976 MB / 1.51 GB, free: 2.199 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.007331/0.6823, allocations: 5.684 MB / 1.516 GB, free: 12.07 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00099/0.6833, allocations: 0.5164 MB / 1.516 GB, free: 11.54 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.6838, allocations: 294.6 kB / 1.517 GB, free: 11.25 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005987/0.6844, allocations: 84.41 kB / 1.517 GB, free: 11.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.6844, allocations: 43 kB / 1.517 GB, free: 11.11 MB / 1.217 GB Notification: Performance of pre-optimization done (n=49): time 2.585e-06/0.6844, allocations: 0 / 1.517 GB, free: 11.11 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.001721/0.6861, allocations: 0.7992 MB / 1.518 GB, free: 10.31 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.6862, allocations: 59.78 kB / 1.518 GB, free: 10.24 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6874, allocations: 0.7549 MB / 1.518 GB, free: 9.473 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.6875, allocations: 37.7 kB / 1.518 GB, free: 9.43 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.6879, allocations: 0.5155 MB / 1.519 GB, free: 8.906 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/0.6881, allocations: 186.4 kB / 1.519 GB, free: 8.723 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.6884, allocations: 142.6 kB / 1.519 GB, free: 8.574 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6885, allocations: 337.9 kB / 1.52 GB, free: 8.238 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.689, allocations: 253.8 kB / 1.52 GB, free: 7.992 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.6897, allocations: 0.5469 MB / 1.52 GB, free: 7.309 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6908, allocations: 0.8034 MB / 1.521 GB, free: 6.398 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6908, allocations: 0 / 1.521 GB, free: 6.398 MB / 1.217 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001496/0.6923, allocations: 0.8542 MB / 1.522 GB, free: 5.539 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.6924, allocations: 8.938 kB / 1.522 GB, free: 5.531 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.6924, allocations: 11.94 kB / 1.522 GB, free: 5.52 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.6924, allocations: 12 kB / 1.522 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.693, allocations: 163.7 kB / 1.522 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.693, allocations: 15.94 kB / 1.522 GB, free: 5.332 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.6938, allocations: 91.33 kB / 1.522 GB, free: 5.242 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.6939, allocations: 35.98 kB / 1.522 GB, free: 5.207 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.0005342/0.6944, allocations: 329.5 kB / 1.523 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.6946, allocations: 91.44 kB / 1.523 GB, free: 4.785 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.6957, allocations: 0.6219 MB / 1.523 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.6957, allocations: 4 kB / 1.523 GB, free: 4.148 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.6957, allocations: 4 kB / 1.523 GB, free: 4.145 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000849/0.6966, allocations: 0.5288 MB / 1.524 GB, free: 3.605 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/0.6996, allocations: 1.635 MB / 1.525 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6996, allocations: 4 kB / 1.525 GB, free: 1.895 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.7002, allocations: 107.9 kB / 1.526 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.7002, allocations: 4 kB / 1.526 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.7002, allocations: 15.94 kB / 1.526 GB, free: 1.77 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/0.7002, allocations: 8.203 kB / 1.526 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7002, allocations: 4 kB / 1.526 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.7018, allocations: 1.027 MB / 1.527 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.7023, allocations: 147.3 kB / 1.527 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.7024, allocations: 12 kB / 1.527 GB, free: 0.5352 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005012/0.7029, allocations: 19.98 kB / 1.527 GB, free: 0.5156 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.703, allocations: 31.94 kB / 1.527 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/0.703, allocations: 16 kB / 1.527 GB, free: 480 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007935/0.7038, allocations: 0.5147 MB / 1.527 GB, free: 15.96 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7038, allocations: 0 / 1.527 GB, free: 15.96 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00101/0.7048, allocations: 307.4 kB / 1.528 GB, free: 15.66 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.002365/0.7072, allocations: 1.675 MB / 1.529 GB, free: 13.95 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.7083, allocations: 0.581 MB / 1.53 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7084, allocations: 0 / 1.53 GB, free: 13.37 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.7088, allocations: 259.7 kB / 1.53 GB, free: 13.11 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.7108, allocations: 440.3 kB / 1.53 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.7228, allocations: 7.229 MB / 1.538 GB, free: 5.066 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.724, allocations: 1.133 MB / 1.539 GB, free: 3.906 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001004/0.725, allocations: 263 kB / 1.539 GB, free: 3.645 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/0.7257, allocations: 363.3 kB / 1.539 GB, free: 3.289 MB / 1.232 GB Notification: Performance of SimCode: time 1.152e-06/0.7257, allocations: 4 kB / 1.539 GB, free: 3.285 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07025/0.7959, allocations: 23.82 MB / 1.562 GB, free: 11.87 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.9, allocations: 10.56 kB / 1.563 GB, free: 11.86 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: 20.62735303095542]