Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_latest_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.007593/0.007594, allocations: 99.69 kB / 15.73 MB, free: 6.477 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.00196/0.00196, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.84 kB / 1.054 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3338, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9924/1.326, allocations: 195.1 MB / 1.398 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02412/1.35, allocations: 14.32 MB / 1.412 GB, free: 8 kB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/1.352, allocations: 38.98 kB / 1.412 GB, free: 15.99 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/1.355, allocations: 0.4991 MB / 1.412 GB, free: 15.57 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006352/1.361, allocations: 1.883 MB / 1.414 GB, free: 14.12 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/1.364, allocations: 0.8691 MB / 1.415 GB, free: 13.46 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004145/1.369, allocations: 2.58 MB / 1.418 GB, free: 11.99 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/1.371, allocations: 1.108 MB / 1.419 GB, free: 11.34 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/1.376, allocations: 1.616 MB / 1.42 GB, free: 10.38 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/1.378, allocations: 0.9223 MB / 1.421 GB, free: 9.848 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004932/1.379, allocations: 103.9 kB / 1.421 GB, free: 9.848 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/1.382, allocations: 1.103 MB / 1.422 GB, free: 9.273 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009692/1.383, allocations: 0.499 MB / 1.423 GB, free: 8.941 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001759/1.385, allocations: 0.6296 MB / 1.423 GB, free: 8.539 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004065/1.389, allocations: 1.913 MB / 1.425 GB, free: 7.301 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/1.389, allocations: 0 / 1.425 GB, free: 7.301 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.863e-06/1.389, allocations: 0 / 1.425 GB, free: 7.301 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.493e-05/1.389, allocations: 0 / 1.425 GB, free: 7.301 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.003372/1.392, allocations: 1.453 MB / 1.427 GB, free: 6.195 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/1.392, allocations: 8.5 kB / 1.427 GB, free: 6.195 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/1.393, allocations: 142.6 kB / 1.427 GB, free: 6.082 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/1.394, allocations: 262.5 kB / 1.427 GB, free: 5.957 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/1.396, allocations: 0.7893 MB / 1.428 GB, free: 5.258 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.023e-05/1.396, allocations: 70 kB / 1.428 GB, free: 5.188 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/1.396, allocations: 95.91 kB / 1.428 GB, free: 5.094 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/1.398, allocations: 1.169 MB / 1.429 GB, free: 3.855 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.398, allocations: 7.938 kB / 1.429 GB, free: 3.848 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.398, allocations: 39.94 kB / 1.429 GB, free: 3.809 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/1.399, allocations: 34 kB / 1.429 GB, free: 3.773 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/1.4, allocations: 0.9054 MB / 1.43 GB, free: 2.871 MB / 1.107 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.006565/1.407, allocations: 5.739 MB / 1.436 GB, free: 12.67 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/1.408, allocations: 0.5355 MB / 1.436 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/1.408, allocations: 322.5 kB / 1.437 GB, free: 11.81 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006478/1.409, allocations: 307.8 kB / 1.437 GB, free: 11.45 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.409, allocations: 39 kB / 1.437 GB, free: 11.41 MB / 1.123 GB Notification: Performance of pre-optimization done (n=49): time 2.194e-06/1.409, allocations: 0 / 1.437 GB, free: 11.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=49): time 0.00182/1.411, allocations: 0.8103 MB / 1.438 GB, free: 10.59 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.411, allocations: 55.84 kB / 1.438 GB, free: 10.52 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.412, allocations: 0.7548 MB / 1.438 GB, free: 9.754 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/1.412, allocations: 37.7 kB / 1.438 GB, free: 9.711 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/1.412, allocations: 0.5065 MB / 1.439 GB, free: 9.195 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/1.413, allocations: 173.5 kB / 1.439 GB, free: 9.023 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/1.413, allocations: 146.5 kB / 1.439 GB, free: 8.875 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.413, allocations: 337.9 kB / 1.44 GB, free: 8.539 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/1.413, allocations: 249.8 kB / 1.44 GB, free: 8.297 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/1.414, allocations: 0.5624 MB / 1.44 GB, free: 7.602 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/1.415, allocations: 0.7956 MB / 1.441 GB, free: 6.695 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.415, allocations: 0 / 1.441 GB, free: 6.695 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00143/1.416, allocations: 0.8463 MB / 1.442 GB, free: 5.844 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.416, allocations: 11.98 kB / 1.442 GB, free: 5.832 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.417, allocations: 8 kB / 1.442 GB, free: 5.824 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.417, allocations: 12 kB / 1.442 GB, free: 5.812 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/1.417, allocations: 155.8 kB / 1.442 GB, free: 5.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/1.417, allocations: 16.47 kB / 1.442 GB, free: 5.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/1.418, allocations: 95.09 kB / 1.442 GB, free: 5.551 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.983e-05/1.418, allocations: 35.94 kB / 1.442 GB, free: 5.516 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.0005641/1.419, allocations: 334.3 kB / 1.443 GB, free: 5.18 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/1.419, allocations: 82.97 kB / 1.443 GB, free: 5.098 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/1.42, allocations: 0.618 MB / 1.443 GB, free: 4.469 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/1.42, allocations: 16.03 kB / 1.443 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.42, allocations: 0 / 1.443 GB, free: 4.453 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007162/1.421, allocations: 0.5172 MB / 1.444 GB, free: 3.926 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/1.424, allocations: 1.663 MB / 1.445 GB, free: 2.184 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/1.424, allocations: 7.938 kB / 1.445 GB, free: 2.176 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/1.424, allocations: 107.9 kB / 1.446 GB, free: 2.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/1.424, allocations: 4 kB / 1.446 GB, free: 2.066 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/1.424, allocations: 16 kB / 1.446 GB, free: 2.051 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-05/1.424, allocations: 7.938 kB / 1.446 GB, free: 2.043 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.424, allocations: 0.625 kB / 1.446 GB, free: 2.043 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/1.426, allocations: 1.011 MB / 1.447 GB, free: 0.9922 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/1.426, allocations: 235.9 kB / 1.447 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.426, allocations: 16 kB / 1.447 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/1.427, allocations: 15.98 kB / 1.447 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/1.427, allocations: 35.89 kB / 1.447 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.427, allocations: 19.94 kB / 1.447 GB, free: 0.6562 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007225/1.428, allocations: 0.5107 MB / 1.447 GB, free: 152 kB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/1.428, allocations: 0 / 1.447 GB, free: 152 kB / 1.123 GB Notification: Performance of remove unused functions: time 0.001068/1.429, allocations: 303.3 kB / 1.448 GB, free: 15.85 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.00214/1.431, allocations: 1.666 MB / 1.449 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001015/1.432, allocations: 0.6121 MB / 1.45 GB, free: 13.55 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.432, allocations: 8 kB / 1.45 GB, free: 13.54 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003644/1.432, allocations: 275.5 kB / 1.45 GB, free: 13.27 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002057/1.434, allocations: 435.7 kB / 1.451 GB, free: 12.86 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.445, allocations: 7.202 MB / 1.458 GB, free: 5.258 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/1.445, allocations: 1.122 MB / 1.459 GB, free: 4.109 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000829/1.446, allocations: 275 kB / 1.459 GB, free: 3.836 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/1.447, allocations: 363.3 kB / 1.459 GB, free: 3.484 MB / 1.139 GB Notification: Performance of SimCode: time 4.81e-07/1.447, allocations: 0 / 1.459 GB, free: 3.484 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05586/1.503, allocations: 23.44 MB / 1.482 GB, free: 12.37 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.366/10.87, allocations: 11.77 kB / 1.482 GB, free: 12.36 MB / 1.17 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches