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: 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_9_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_9_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.001492/0.001492, allocations: 98.94 kB / 16.27 MB, free: 5.965 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.001545/0.001545, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.447/1.447, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.271/2.271, allocations: 390.3 MB / 0.6653 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 64.27 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2857, allocations: 140.4 MB / 0.9503 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.7914/1.077, allocations: 195.1 MB / 1.141 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01875/1.096, allocations: 14.31 MB / 1.155 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/1.098, allocations: 35.03 kB / 1.155 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/1.1, allocations: 0.4935 MB / 1.155 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/1.106, allocations: 1.887 MB / 1.157 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/1.109, allocations: 0.8691 MB / 1.158 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004306/1.114, allocations: 2.567 MB / 1.16 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/1.116, allocations: 1.111 MB / 1.162 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005436/1.121, allocations: 1.611 MB / 1.163 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/1.123, allocations: 0.9164 MB / 1.164 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003369/1.124, allocations: 105.9 kB / 1.164 GB, free: 364 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003285/1.127, allocations: 1.097 MB / 1.165 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001117/1.128, allocations: 0.5196 MB / 1.166 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.13, allocations: 0.6363 MB / 1.166 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004338/1.134, allocations: 1.882 MB / 1.168 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.134, allocations: 0 / 1.168 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.904e-06/1.134, allocations: 1.156 kB / 1.168 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.593e-05/1.134, allocations: 3.969 kB / 1.168 GB, free: 15.01 MB / 0.8731 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.003356/1.138, allocations: 1.451 MB / 1.17 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.138, allocations: 10.12 kB / 1.17 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.139, allocations: 250.8 kB / 1.17 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/1.141, allocations: 0.7548 MB / 1.171 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/1.141, allocations: 75.94 kB / 1.171 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.141, allocations: 96.08 kB / 1.171 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.143, allocations: 1.163 MB / 1.172 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.143, allocations: 2.125 kB / 1.172 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.305e-05/1.143, allocations: 41.28 kB / 1.172 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/1.143, allocations: 43.27 kB / 1.172 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.145, allocations: 0.9012 MB / 1.173 GB, free: 12.54 MB / 0.8731 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.006775/1.152, allocations: 5.775 MB / 1.178 GB, free: 7.945 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000957/1.153, allocations: 0.5298 MB / 1.179 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/1.153, allocations: 317 kB / 1.179 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/1.154, allocations: 314.4 kB / 1.18 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/1.154, allocations: 44.22 kB / 1.18 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=49): time 2.886e-06/1.154, allocations: 0 / 1.18 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of matching and sorting (n=49): time 0.001588/1.155, allocations: 0.7947 MB / 1.18 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.155, allocations: 62.83 kB / 1.18 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.157, allocations: 0.7484 MB / 1.181 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/1.157, allocations: 38.42 kB / 1.181 GB, free: 6.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003962/1.157, allocations: 0.51 MB / 1.182 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/1.157, allocations: 172.1 kB / 1.182 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/1.157, allocations: 141.4 kB / 1.182 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.158, allocations: 339.8 kB / 1.182 GB, free: 5.645 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/1.158, allocations: 251.2 kB / 1.183 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/1.159, allocations: 0.5572 MB / 1.183 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.16, allocations: 0.7984 MB / 1.184 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/1.16, allocations: 2.812 kB / 1.184 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001256/1.161, allocations: 0.8505 MB / 1.185 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/1.161, allocations: 8.531 kB / 1.185 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.161, allocations: 7.938 kB / 1.185 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/1.161, allocations: 17.69 kB / 1.185 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/1.162, allocations: 149.9 kB / 1.185 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/1.162, allocations: 16.97 kB / 1.185 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008599/1.162, allocations: 89.27 kB / 1.185 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.485e-05/1.163, allocations: 41.83 kB / 1.185 GB, free: 4.004 MB / 0.8731 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.0005711/1.163, allocations: 342.8 kB / 1.185 GB, free: 3.75 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/1.163, allocations: 83.69 kB / 1.185 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.164, allocations: 0.6155 MB / 1.186 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.164, allocations: 5.688 kB / 1.186 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/1.164, allocations: 0 / 1.186 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006838/1.165, allocations: 0.5143 MB / 1.187 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/1.168, allocations: 1.677 MB / 1.188 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.168, allocations: 2.25 kB / 1.188 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/1.168, allocations: 113.8 kB / 1.188 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.168, allocations: 9.344 kB / 1.188 GB, free: 1.906 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/1.168, allocations: 13.09 kB / 1.188 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/1.168, allocations: 5.094 kB / 1.188 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.168, allocations: 3.938 kB / 1.188 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/1.17, allocations: 1.012 MB / 1.189 GB, free: 1.277 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/1.17, allocations: 230.1 kB / 1.19 GB, free: 1.082 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/1.17, allocations: 13.19 kB / 1.19 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/1.171, allocations: 21.58 kB / 1.19 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.691e-05/1.171, allocations: 35.11 kB / 1.19 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/1.171, allocations: 17.72 kB / 1.19 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007039/1.172, allocations: 0.5131 MB / 1.19 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.172, allocations: 0 / 1.19 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001065/1.173, allocations: 304.4 kB / 1.19 GB, free: 0.6797 MB / 0.8731 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.0005704/1.173, allocations: 207.5 kB / 1.191 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001233/1.175, allocations: 0.7227 MB / 1.191 GB, free: 248 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.175, allocations: 9.469 kB / 1.191 GB, free: 244 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/1.175, allocations: 265.5 kB / 1.192 GB, free: 124 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/1.177, allocations: 438.6 kB / 1.192 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/1.181, allocations: 2.024 MB / 1.194 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/1.181, allocations: 1.118 MB / 1.195 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/1.182, allocations: 84.19 kB / 1.195 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of SimCode: time 6.61e-07/1.182, allocations: 0 / 1.195 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of Templates: time 0.02538/1.207, allocations: 14.54 MB / 1.209 GB, free: 6.207 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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