Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_9_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.008174/0.008174, allocations: 102 kB / 15.73 MB, free: 6.051 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.001845/0.001845, allocations: 195 kB / 16.68 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 64 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.276, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.9545/1.231, allocations: 195.1 MB / 1.278 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01753/1.248, allocations: 14.32 MB / 1.292 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001812/1.25, allocations: 35.72 kB / 1.292 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/1.252, allocations: 0.4943 MB / 1.293 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/1.257, allocations: 1.887 MB / 1.294 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/1.26, allocations: 0.8694 MB / 1.295 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004095/1.264, allocations: 2.569 MB / 1.298 GB, free: 2.906 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/1.266, allocations: 1.117 MB / 1.299 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004855/1.271, allocations: 1.617 MB / 1.3 GB, free: 2.766 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/1.273, allocations: 0.9272 MB / 1.301 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001894/1.273, allocations: 105.4 kB / 1.301 GB, free: 2.762 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/1.276, allocations: 1.1 MB / 1.302 GB, free: 2.75 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006618/1.276, allocations: 0.4981 MB / 1.303 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008935/1.277, allocations: 0.6372 MB / 1.304 GB, free: 2.738 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/1.28, allocations: 1.906 MB / 1.305 GB, free: 2.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.28, allocations: 0.8125 kB / 1.305 GB, free: 2.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.192e-06/1.28, allocations: 0 / 1.305 GB, free: 2.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.948e-05/1.28, allocations: 2.375 kB / 1.305 GB, free: 2.492 MB / 1.014 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.002304/1.283, allocations: 1.454 MB / 1.307 GB, free: 1.711 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.283, allocations: 9.594 kB / 1.307 GB, free: 1.711 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000158/1.283, allocations: 145.2 kB / 1.307 GB, free: 1.672 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.284, allocations: 247.1 kB / 1.307 GB, free: 1.613 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.286, allocations: 0.7893 MB / 1.308 GB, free: 1.293 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/1.286, allocations: 79.81 kB / 1.308 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/1.286, allocations: 92.59 kB / 1.308 GB, free: 1.285 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.288, allocations: 1.17 MB / 1.309 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/1.288, allocations: 5.094 kB / 1.309 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/1.288, allocations: 37.78 kB / 1.309 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.732e-05/1.288, allocations: 36.78 kB / 1.309 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001571/1.289, allocations: 0.9016 MB / 1.31 GB, free: 1.051 MB / 1.014 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.007182/1.297, allocations: 5.74 MB / 1.316 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/1.298, allocations: 0.5429 MB / 1.316 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005125/1.298, allocations: 324.6 kB / 1.317 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006848/1.299, allocations: 314 kB / 1.317 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/1.299, allocations: 42.03 kB / 1.317 GB, free: 12.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 5.119e-06/1.299, allocations: 0 / 1.317 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001533/1.3, allocations: 0.7991 MB / 1.318 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.301, allocations: 68.06 kB / 1.318 GB, free: 12.76 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/1.301, allocations: 0.7495 MB / 1.319 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/1.302, allocations: 40.7 kB / 1.319 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/1.302, allocations: 0.5097 MB / 1.319 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/1.302, allocations: 171.9 kB / 1.319 GB, free: 12.24 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/1.302, allocations: 143.8 kB / 1.319 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.302, allocations: 333.3 kB / 1.32 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/1.303, allocations: 249.6 kB / 1.32 GB, free: 11.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/1.303, allocations: 0.5535 MB / 1.321 GB, free: 11.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000985/1.304, allocations: 0.7977 MB / 1.321 GB, free: 11.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.304, allocations: 3.438 kB / 1.321 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001275/1.306, allocations: 0.8493 MB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.306, allocations: 9.062 kB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/1.306, allocations: 11.22 kB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/1.306, allocations: 12.84 kB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/1.306, allocations: 153.4 kB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/1.306, allocations: 15.88 kB / 1.322 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/1.307, allocations: 92.06 kB / 1.322 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/1.307, allocations: 32.28 kB / 1.322 GB, free: 11.13 MB / 1.029 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.0004303/1.308, allocations: 334.5 kB / 1.323 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.308, allocations: 88.75 kB / 1.323 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/1.309, allocations: 0.6144 MB / 1.323 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.309, allocations: 6.344 kB / 1.323 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.309, allocations: 3.219 kB / 1.324 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000821/1.31, allocations: 0.5193 MB / 1.324 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/1.312, allocations: 1.667 MB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/1.312, allocations: 6.688 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/1.313, allocations: 113.1 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/1.313, allocations: 4.438 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.313, allocations: 16.64 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/1.313, allocations: 7.969 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.313, allocations: 6.281 kB / 1.326 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.314, allocations: 1.012 MB / 1.327 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/1.314, allocations: 230.1 kB / 1.327 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-05/1.315, allocations: 11.12 kB / 1.327 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/1.315, allocations: 20.75 kB / 1.327 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/1.315, allocations: 33.22 kB / 1.327 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/1.315, allocations: 19.61 kB / 1.327 GB, free: 10.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006337/1.316, allocations: 0.5116 MB / 1.328 GB, free: 9.961 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.316, allocations: 0 / 1.328 GB, free: 9.961 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009368/1.317, allocations: 305.4 kB / 1.328 GB, free: 9.918 MB / 1.029 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.001873/1.319, allocations: 1.667 MB / 1.329 GB, free: 9.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009057/1.319, allocations: 0.6105 MB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.319, allocations: 0.9688 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/1.32, allocations: 273.4 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/1.322, allocations: 449 kB / 1.331 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.332, allocations: 7.195 MB / 1.338 GB, free: 6.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/1.333, allocations: 1.122 MB / 1.339 GB, free: 5.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009284/1.334, allocations: 271.4 kB / 1.339 GB, free: 5.523 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/1.335, allocations: 359.3 kB / 1.339 GB, free: 5.391 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.335, allocations: 0 / 1.339 GB, free: 5.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/1.39, allocations: 23.44 MB / 1.362 GB, free: 14.87 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.925/10.31, allocations: 11.73 kB / 1.362 GB, free: 14.86 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches