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.005977/0.005977, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001319/0.001319, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.324/2.324, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.66 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2761, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.8237/1.1, allocations: 195.1 MB / 1.278 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01907/1.119, allocations: 14.32 MB / 1.292 GB, free: 3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/1.121, allocations: 37.72 kB / 1.292 GB, free: 3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/1.123, allocations: 0.5054 MB / 1.293 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006703/1.13, allocations: 1.961 MB / 1.294 GB, free: 2.918 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/1.133, allocations: 0.869 MB / 1.295 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004298/1.137, allocations: 2.573 MB / 1.298 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/1.14, allocations: 1.121 MB / 1.299 GB, free: 2.777 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/1.145, allocations: 1.649 MB / 1.301 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/1.148, allocations: 0.927 MB / 1.301 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/1.148, allocations: 106.1 kB / 1.302 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/1.152, allocations: 1.107 MB / 1.303 GB, free: 2.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/1.153, allocations: 0.4977 MB / 1.303 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00218/1.155, allocations: 0.6331 MB / 1.304 GB, free: 2.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00472/1.16, allocations: 1.91 MB / 1.306 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.16, allocations: 0 / 1.306 GB, free: 2.484 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.285e-06/1.16, allocations: 1.031 kB / 1.306 GB, free: 2.484 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.347e-05/1.16, allocations: 0.7031 kB / 1.306 GB, free: 2.484 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.005026/1.165, allocations: 1.452 MB / 1.307 GB, free: 1.703 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.165, allocations: 10.45 kB / 1.307 GB, free: 1.703 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003923/1.166, allocations: 144 kB / 1.307 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/1.167, allocations: 246 kB / 1.307 GB, free: 1.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/1.169, allocations: 0.8038 MB / 1.308 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/1.169, allocations: 68.66 kB / 1.308 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/1.17, allocations: 95 kB / 1.308 GB, free: 1.277 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/1.172, allocations: 1.171 MB / 1.309 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/1.172, allocations: 2.188 kB / 1.309 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.172, allocations: 37.62 kB / 1.309 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/1.172, allocations: 41.36 kB / 1.31 GB, free: 1.047 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.174, allocations: 0.9039 MB / 1.31 GB, free: 1.039 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.006604/1.181, allocations: 5.734 MB / 1.316 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/1.181, allocations: 0.5574 MB / 1.317 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/1.182, allocations: 320.6 kB / 1.317 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005979/1.182, allocations: 311.8 kB / 1.317 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/1.183, allocations: 38.91 kB / 1.317 GB, free: 12.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=49): time 2.014e-06/1.183, allocations: 0 / 1.317 GB, free: 12.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=49): time 0.001637/1.184, allocations: 0.8002 MB / 1.318 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/1.184, allocations: 55.88 kB / 1.318 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/1.185, allocations: 0.7559 MB / 1.319 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.08e-05/1.185, allocations: 35.7 kB / 1.319 GB, free: 12.58 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/1.186, allocations: 0.5097 MB / 1.319 GB, free: 12.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/1.186, allocations: 173.5 kB / 1.319 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.186, allocations: 142.6 kB / 1.32 GB, free: 12.21 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.187, allocations: 333.2 kB / 1.32 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/1.187, allocations: 248.8 kB / 1.32 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/1.188, allocations: 0.5567 MB / 1.321 GB, free: 11.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/1.189, allocations: 0.8022 MB / 1.321 GB, free: 11.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.189, allocations: 3.281 kB / 1.321 GB, free: 11.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001371/1.19, allocations: 0.8523 MB / 1.322 GB, free: 11.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/1.19, allocations: 8.531 kB / 1.322 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.19, allocations: 8.688 kB / 1.322 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.19, allocations: 13.44 kB / 1.322 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/1.191, allocations: 155.9 kB / 1.322 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.191, allocations: 18.92 kB / 1.323 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/1.191, allocations: 85.89 kB / 1.323 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.011e-05/1.192, allocations: 38.34 kB / 1.323 GB, free: 11.12 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.0005478/1.192, allocations: 331.8 kB / 1.323 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.192, allocations: 88.41 kB / 1.323 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/1.193, allocations: 0.6166 MB / 1.324 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.193, allocations: 4.5 kB / 1.324 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/1.194, allocations: 2.344 kB / 1.324 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007285/1.194, allocations: 0.5226 MB / 1.324 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/1.197, allocations: 1.671 MB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.197, allocations: 3.562 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/1.197, allocations: 109 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/1.198, allocations: 4.125 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/1.198, allocations: 19.33 kB / 1.326 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/1.198, allocations: 6.688 kB / 1.326 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.198, allocations: 2.75 kB / 1.326 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/1.199, allocations: 1.017 MB / 1.327 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/1.199, allocations: 224.6 kB / 1.327 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/1.2, allocations: 12.94 kB / 1.327 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/1.2, allocations: 22.11 kB / 1.327 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/1.2, allocations: 31.5 kB / 1.327 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/1.2, allocations: 20.75 kB / 1.327 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000632/1.201, allocations: 0.5115 MB / 1.328 GB, free: 9.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/1.201, allocations: 0.8125 kB / 1.328 GB, free: 9.949 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001073/1.202, allocations: 302.3 kB / 1.328 GB, free: 9.906 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.001968/1.204, allocations: 1.666 MB / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009236/1.205, allocations: 0.6086 MB / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.205, allocations: 0 / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003026/1.205, allocations: 276 kB / 1.33 GB, free: 9.109 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.207, allocations: 444.6 kB / 1.331 GB, free: 9.047 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009312/1.216, allocations: 7.21 MB / 1.338 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007263/1.217, allocations: 1.119 MB / 1.339 GB, free: 5.551 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008282/1.218, allocations: 267 kB / 1.339 GB, free: 5.508 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.219, allocations: 361.3 kB / 1.34 GB, free: 5.293 MB / 1.029 GB Notification: Performance of SimCode: time 8.41e-07/1.219, allocations: 0 / 1.34 GB, free: 5.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05092/1.269, allocations: 23.08 MB / 1.362 GB, free: 15.01 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.552/10.82, allocations: 7.344 kB / 1.362 GB, free: 15 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