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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006259/0.006259, allocations: 99 kB / 15.73 MB, free: 6.008 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.001348/0.001348, allocations: 196.2 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 472.7 MB / 0.7453 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.89 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.8997, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2172/1.117, allocations: 195.1 MB / 1.416 GB, free: 9.688 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01851/1.135, allocations: 14.33 MB / 1.43 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/1.137, allocations: 35.81 kB / 1.43 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/1.139, allocations: 0.489 MB / 1.431 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005167/1.145, allocations: 1.886 MB / 1.433 GB, free: 8.898 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/1.147, allocations: 0.8746 MB / 1.433 GB, free: 8.027 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003423/1.151, allocations: 2.569 MB / 1.436 GB, free: 5.445 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/1.152, allocations: 1.107 MB / 1.437 GB, free: 4.312 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/1.157, allocations: 1.606 MB / 1.439 GB, free: 2.719 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/1.159, allocations: 0.9167 MB / 1.439 GB, free: 1.801 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002055/1.159, allocations: 112 kB / 1.44 GB, free: 1.691 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/1.162, allocations: 1.095 MB / 1.441 GB, free: 0.5938 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006623/1.162, allocations: 0.4987 MB / 1.441 GB, free: 96 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008287/1.163, allocations: 0.634 MB / 1.442 GB, free: 15.45 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/1.166, allocations: 1.916 MB / 1.444 GB, free: 13.54 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.166, allocations: 0 / 1.444 GB, free: 13.54 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.845e-06/1.166, allocations: 0 / 1.444 GB, free: 13.54 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.992e-05/1.166, allocations: 0 / 1.444 GB, free: 13.54 MB / 1.17 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.002425/1.169, allocations: 1.49 MB / 1.445 GB, free: 11.99 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.169, allocations: 12.03 kB / 1.445 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001404/1.17, allocations: 255 kB / 1.445 GB, free: 11.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/1.172, allocations: 0.8044 MB / 1.446 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.105e-05/1.172, allocations: 70 kB / 1.446 GB, free: 10.81 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/1.172, allocations: 92 kB / 1.446 GB, free: 10.72 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.173, allocations: 1.169 MB / 1.447 GB, free: 9.48 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/1.174, allocations: 7.938 kB / 1.447 GB, free: 9.473 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.377e-05/1.174, allocations: 43.88 kB / 1.447 GB, free: 9.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/1.174, allocations: 34 kB / 1.447 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/1.175, allocations: 0.8937 MB / 1.448 GB, free: 8.5 MB / 1.17 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.005551/1.181, allocations: 5.763 MB / 1.454 GB, free: 2.285 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008395/1.181, allocations: 0.5471 MB / 1.455 GB, free: 1.73 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/1.182, allocations: 323.1 kB / 1.455 GB, free: 1.41 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/1.182, allocations: 307.7 kB / 1.455 GB, free: 1.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/1.182, allocations: 39 kB / 1.455 GB, free: 1.004 MB / 1.17 GB Notification: Performance of pre-optimization done (n=49): time 2.895e-06/1.182, allocations: 4 kB / 1.455 GB, free: 1 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.001506/1.184, allocations: 0.7992 MB / 1.456 GB, free: 200 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.184, allocations: 59.78 kB / 1.456 GB, free: 128 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008744/1.185, allocations: 0.751 MB / 1.457 GB, free: 15.37 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.122e-05/1.185, allocations: 37.7 kB / 1.457 GB, free: 15.32 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/1.185, allocations: 0.5156 MB / 1.457 GB, free: 14.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/1.186, allocations: 186.4 kB / 1.457 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/1.186, allocations: 150.6 kB / 1.458 GB, free: 14.46 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.186, allocations: 333.9 kB / 1.458 GB, free: 14.13 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/1.186, allocations: 253.8 kB / 1.458 GB, free: 13.89 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006248/1.187, allocations: 0.5469 MB / 1.459 GB, free: 13.21 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009568/1.188, allocations: 0.7956 MB / 1.459 GB, free: 12.3 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.188, allocations: 8 kB / 1.459 GB, free: 12.29 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001251/1.189, allocations: 0.8466 MB / 1.46 GB, free: 11.44 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/1.189, allocations: 9.875 kB / 1.46 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.189, allocations: 8 kB / 1.46 GB, free: 11.42 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.902e-05/1.189, allocations: 12 kB / 1.46 GB, free: 11.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.19, allocations: 156.4 kB / 1.46 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.19, allocations: 15.94 kB / 1.46 GB, free: 11.24 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007285/1.191, allocations: 91.39 kB / 1.461 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/1.191, allocations: 47.86 kB / 1.461 GB, free: 11.11 MB / 1.186 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.0004219/1.191, allocations: 325.4 kB / 1.461 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.191, allocations: 91.44 kB / 1.461 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009595/1.192, allocations: 0.6219 MB / 1.462 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.192, allocations: 4 kB / 1.462 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.192, allocations: 4 kB / 1.462 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007012/1.193, allocations: 0.5211 MB / 1.462 GB, free: 9.508 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/1.195, allocations: 1.663 MB / 1.464 GB, free: 7.766 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.195, allocations: 3.938 kB / 1.464 GB, free: 7.762 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005185/1.196, allocations: 107.9 kB / 1.464 GB, free: 7.656 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.196, allocations: 4 kB / 1.464 GB, free: 7.652 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/1.196, allocations: 19.98 kB / 1.464 GB, free: 7.633 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/1.196, allocations: 3.938 kB / 1.464 GB, free: 7.629 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.196, allocations: 4 kB / 1.464 GB, free: 7.625 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/1.197, allocations: 1.027 MB / 1.465 GB, free: 6.562 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003205/1.198, allocations: 240.3 kB / 1.465 GB, free: 6.309 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.198, allocations: 12 kB / 1.465 GB, free: 6.297 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/1.198, allocations: 15.98 kB / 1.465 GB, free: 6.281 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/1.198, allocations: 31.97 kB / 1.465 GB, free: 6.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/1.198, allocations: 20.12 kB / 1.465 GB, free: 6.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006996/1.199, allocations: 0.5107 MB / 1.466 GB, free: 5.727 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.6e-07/1.199, allocations: 0 / 1.466 GB, free: 5.727 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001012/1.2, allocations: 295.5 kB / 1.466 GB, free: 5.438 MB / 1.186 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.0007573/1.201, allocations: 227.8 kB / 1.466 GB, free: 5.219 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001068/1.202, allocations: 0.612 MB / 1.467 GB, free: 4.605 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.202, allocations: 8.062 kB / 1.467 GB, free: 4.598 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003767/1.202, allocations: 267.7 kB / 1.467 GB, free: 4.336 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/1.204, allocations: 442.3 kB / 1.467 GB, free: 3.914 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/1.208, allocations: 1.948 MB / 1.469 GB, free: 1.914 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/1.208, allocations: 1.126 MB / 1.47 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008087/1.209, allocations: 263.1 kB / 1.471 GB, free: 0.5 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.21, allocations: 75.42 kB / 1.471 GB, free: 436 kB / 1.186 GB Notification: Performance of SimCode: time 8.22e-07/1.21, allocations: 0 / 1.471 GB, free: 436 kB / 1.186 GB Notification: Performance of Templates: time 0.02948/1.239, allocations: 15.56 MB / 1.486 GB, free: 1.074 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches