Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006746/0.006746, allocations: 101.2 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 187.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.559/2.559, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 68.14 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9493, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2404/1.19, allocations: 195.1 MB / 1.357 GB, free: 15.91 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02182/1.212, allocations: 14.31 MB / 1.371 GB, free: 1.551 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/1.213, allocations: 43.69 kB / 1.371 GB, free: 1.508 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/1.216, allocations: 0.5085 MB / 1.371 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00615/1.222, allocations: 1.962 MB / 1.373 GB, free: 15.03 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/1.225, allocations: 0.8782 MB / 1.374 GB, free: 14.15 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004388/1.229, allocations: 2.574 MB / 1.377 GB, free: 11.57 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/1.232, allocations: 1.111 MB / 1.378 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005875/1.237, allocations: 1.65 MB / 1.379 GB, free: 8.797 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/1.24, allocations: 0.9225 MB / 1.38 GB, free: 7.871 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000433/1.24, allocations: 108 kB / 1.38 GB, free: 7.766 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/1.243, allocations: 1.107 MB / 1.381 GB, free: 6.656 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009189/1.244, allocations: 0.4987 MB / 1.382 GB, free: 6.156 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/1.246, allocations: 0.6338 MB / 1.382 GB, free: 5.52 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00419/1.25, allocations: 1.909 MB / 1.384 GB, free: 3.605 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/1.25, allocations: 4 kB / 1.384 GB, free: 3.602 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.176e-06/1.25, allocations: 0 / 1.384 GB, free: 3.602 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.352e-05/1.25, allocations: 0 / 1.384 GB, free: 3.602 MB / 1.107 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.003487/1.254, allocations: 1.449 MB / 1.386 GB, free: 2.102 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.254, allocations: 16.86 kB / 1.386 GB, free: 2.086 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002859/1.254, allocations: 139.6 kB / 1.386 GB, free: 1.941 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/1.256, allocations: 258.3 kB / 1.386 GB, free: 1.688 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/1.258, allocations: 0.7921 MB / 1.387 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.054e-05/1.258, allocations: 74 kB / 1.387 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/1.258, allocations: 95.91 kB / 1.387 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.26, allocations: 1.17 MB / 1.388 GB, free: 15.44 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/1.26, allocations: 3.938 kB / 1.388 GB, free: 15.44 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.26, allocations: 43.94 kB / 1.388 GB, free: 15.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/1.26, allocations: 34 kB / 1.388 GB, free: 15.36 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/1.262, allocations: 0.9015 MB / 1.389 GB, free: 14.46 MB / 1.123 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.007223/1.269, allocations: 5.743 MB / 1.395 GB, free: 8.266 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/1.27, allocations: 0.5492 MB / 1.395 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004523/1.271, allocations: 314.6 kB / 1.396 GB, free: 7.402 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/1.271, allocations: 311.8 kB / 1.396 GB, free: 7.043 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.272, allocations: 39 kB / 1.396 GB, free: 6.996 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.825e-06/1.272, allocations: 0 / 1.396 GB, free: 6.996 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.001686/1.273, allocations: 0.8025 MB / 1.397 GB, free: 6.188 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/1.273, allocations: 59.84 kB / 1.397 GB, free: 6.117 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.274, allocations: 0.747 MB / 1.397 GB, free: 5.359 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.891e-05/1.274, allocations: 41.64 kB / 1.398 GB, free: 5.312 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/1.275, allocations: 0.5065 MB / 1.398 GB, free: 4.797 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/1.275, allocations: 181.5 kB / 1.398 GB, free: 4.617 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/1.275, allocations: 146.5 kB / 1.398 GB, free: 4.469 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.275, allocations: 333.9 kB / 1.399 GB, free: 4.137 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003863/1.276, allocations: 249.8 kB / 1.399 GB, free: 3.895 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/1.277, allocations: 0.5546 MB / 1.399 GB, free: 3.207 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/1.278, allocations: 0.7995 MB / 1.4 GB, free: 2.297 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/1.278, allocations: 4 kB / 1.4 GB, free: 2.293 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001505/1.279, allocations: 0.8383 MB / 1.401 GB, free: 1.445 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/1.279, allocations: 11.98 kB / 1.401 GB, free: 1.434 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.279, allocations: 12 kB / 1.401 GB, free: 1.422 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.128e-05/1.279, allocations: 12.75 kB / 1.401 GB, free: 1.41 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005704/1.28, allocations: 151.8 kB / 1.401 GB, free: 1.262 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/1.28, allocations: 12 kB / 1.401 GB, free: 1.25 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/1.281, allocations: 103 kB / 1.401 GB, free: 1.148 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/1.281, allocations: 36 kB / 1.401 GB, free: 1.113 MB / 1.123 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.0005314/1.281, allocations: 321.5 kB / 1.402 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/1.282, allocations: 82.97 kB / 1.402 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/1.283, allocations: 0.6257 MB / 1.402 GB, free: 72 kB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.283, allocations: 4 kB / 1.402 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.283, allocations: 0 / 1.402 GB, free: 68 kB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007638/1.283, allocations: 0.5287 MB / 1.403 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/1.286, allocations: 1.667 MB / 1.404 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.286, allocations: 4 kB / 1.404 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/1.287, allocations: 111.9 kB / 1.405 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/1.287, allocations: 0 / 1.405 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.786e-05/1.287, allocations: 16 kB / 1.405 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.287, allocations: 11.94 kB / 1.405 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.691e-05/1.287, allocations: 4 kB / 1.405 GB, free: 13.63 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/1.288, allocations: 1.023 MB / 1.406 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/1.289, allocations: 227.9 kB / 1.406 GB, free: 12.33 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.289, allocations: 12 kB / 1.406 GB, free: 12.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/1.289, allocations: 19.98 kB / 1.406 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/1.29, allocations: 31.95 kB / 1.406 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/1.29, allocations: 16 kB / 1.406 GB, free: 12.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007484/1.29, allocations: 0.5107 MB / 1.406 GB, free: 11.75 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.9e-07/1.29, allocations: 0 / 1.406 GB, free: 11.75 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001118/1.291, allocations: 311.2 kB / 1.407 GB, free: 11.44 MB / 1.139 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.002135/1.294, allocations: 1.661 MB / 1.408 GB, free: 9.754 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001102/1.295, allocations: 0.6078 MB / 1.409 GB, free: 9.145 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.295, allocations: 0 / 1.409 GB, free: 9.145 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004032/1.295, allocations: 275.7 kB / 1.409 GB, free: 8.875 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/1.297, allocations: 446.8 kB / 1.41 GB, free: 8.445 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.308, allocations: 7.195 MB / 1.417 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.309, allocations: 1.118 MB / 1.418 GB, free: 15.73 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008791/1.31, allocations: 267.1 kB / 1.418 GB, free: 15.46 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/1.311, allocations: 363.3 kB / 1.418 GB, free: 15.11 MB / 1.154 GB Notification: Performance of SimCode: time 8.52e-07/1.311, allocations: 0 / 1.418 GB, free: 15.11 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05627/1.367, allocations: 23.09 MB / 1.441 GB, free: 8.336 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/10.82, allocations: 14.77 kB / 1.441 GB, free: 8.324 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches