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.001135/0.001135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.607/2.607, allocations: 390.2 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8185, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2404/1.059, allocations: 195.1 MB / 1.14 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02077/1.08, allocations: 14.33 MB / 1.154 GB, free: 15.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/1.081, allocations: 35.81 kB / 1.154 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/1.083, allocations: 0.4929 MB / 1.155 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005448/1.089, allocations: 1.894 MB / 1.156 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/1.092, allocations: 0.8532 MB / 1.157 GB, free: 12.4 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003801/1.095, allocations: 2.566 MB / 1.16 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001845/1.097, allocations: 1.111 MB / 1.161 GB, free: 8.691 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004748/1.102, allocations: 1.605 MB / 1.162 GB, free: 7.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/1.104, allocations: 0.9091 MB / 1.163 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002677/1.104, allocations: 108 kB / 1.163 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/1.107, allocations: 1.091 MB / 1.165 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005299/1.108, allocations: 0.5065 MB / 1.165 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009126/1.109, allocations: 0.6377 MB / 1.166 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/1.112, allocations: 1.877 MB / 1.167 GB, free: 1.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/1.112, allocations: 4 kB / 1.167 GB, free: 1.953 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.176e-06/1.112, allocations: 0 / 1.167 GB, free: 1.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.922e-05/1.112, allocations: 3.938 kB / 1.167 GB, free: 1.949 MB / 0.92 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.00253/1.115, allocations: 1.441 MB / 1.169 GB, free: 464 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.115, allocations: 12.03 kB / 1.169 GB, free: 452 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/1.116, allocations: 254.3 kB / 1.169 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/1.117, allocations: 0.757 MB / 1.17 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/1.117, allocations: 70 kB / 1.17 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/1.118, allocations: 92 kB / 1.17 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.12, allocations: 1.177 MB / 1.171 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.12, allocations: 4 kB / 1.171 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/1.12, allocations: 39.94 kB / 1.171 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/1.12, allocations: 37.98 kB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.121, allocations: 0.9015 MB / 1.172 GB, free: 13 MB / 0.9356 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.006616/1.128, allocations: 5.774 MB / 1.178 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/1.129, allocations: 0.5243 MB / 1.178 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.129, allocations: 327.2 kB / 1.179 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/1.13, allocations: 311.6 kB / 1.179 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.13, allocations: 39 kB / 1.179 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 2.915e-06/1.13, allocations: 4 kB / 1.179 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001592/1.132, allocations: 0.7948 MB / 1.18 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/1.132, allocations: 55.84 kB / 1.18 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.133, allocations: 0.7587 MB / 1.181 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/1.133, allocations: 37.7 kB / 1.181 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/1.133, allocations: 0.5027 MB / 1.181 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.133, allocations: 181.4 kB / 1.181 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/1.134, allocations: 142.6 kB / 1.181 GB, free: 3 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.134, allocations: 337.9 kB / 1.182 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/1.134, allocations: 257.8 kB / 1.182 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/1.135, allocations: 0.5469 MB / 1.182 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.136, allocations: 0.7956 MB / 1.183 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.136, allocations: 8 kB / 1.183 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001455/1.138, allocations: 0.8462 MB / 1.184 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.138, allocations: 11.94 kB / 1.184 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.138, allocations: 8 kB / 1.184 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/1.138, allocations: 12 kB / 1.184 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/1.138, allocations: 152.5 kB / 1.184 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.138, allocations: 15.94 kB / 1.184 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/1.139, allocations: 91.11 kB / 1.184 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/1.139, allocations: 39.92 kB / 1.184 GB, free: 15.63 MB / 0.9512 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.0005659/1.14, allocations: 329.5 kB / 1.185 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/1.14, allocations: 86.97 kB / 1.185 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/1.141, allocations: 0.6257 MB / 1.185 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.141, allocations: 4 kB / 1.185 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.141, allocations: 0 / 1.185 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000806/1.142, allocations: 0.5173 MB / 1.186 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.144, allocations: 1.671 MB / 1.188 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.144, allocations: 7.938 kB / 1.188 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/1.145, allocations: 107.9 kB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.145, allocations: 4 kB / 1.188 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/1.145, allocations: 11.98 kB / 1.188 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.145, allocations: 4 kB / 1.188 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/1.145, allocations: 7.938 kB / 1.188 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/1.146, allocations: 1.023 MB / 1.189 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/1.147, allocations: 227.9 kB / 1.189 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/1.147, allocations: 16 kB / 1.189 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/1.147, allocations: 11.98 kB / 1.189 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.147, allocations: 31.91 kB / 1.189 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/1.147, allocations: 23.98 kB / 1.189 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008031/1.148, allocations: 0.5107 MB / 1.189 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.148, allocations: 7.938 kB / 1.189 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009869/1.149, allocations: 299.2 kB / 1.19 GB, free: 9.961 MB / 0.9512 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.0006977/1.15, allocations: 210.9 kB / 1.19 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001371/1.151, allocations: 0.7135 MB / 1.191 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.151, allocations: 4.062 kB / 1.191 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000457/1.152, allocations: 275.6 kB / 1.191 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.154, allocations: 448.5 kB / 1.191 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/1.157, allocations: 1.943 MB / 1.193 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/1.158, allocations: 1.118 MB / 1.194 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008536/1.158, allocations: 271 kB / 1.195 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/1.159, allocations: 71.42 kB / 1.195 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/1.159, allocations: 0 / 1.195 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of Templates: time 0.02771/1.186, allocations: 15.4 MB / 1.21 GB, free: 5.719 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches