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.001004/0.001004, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006731/0.006731, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.367 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.489/2.489, allocations: 390.9 MB / 0.6663 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003406, allocations: 8 kB / 0.8159 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.8402, allocations: 142.4 MB / 0.955 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2258/1.066, allocations: 190.3 MB / 1.141 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01932/1.085, allocations: 14.21 MB / 1.155 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/1.087, allocations: 35.75 kB / 1.155 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/1.089, allocations: 421.7 kB / 1.155 GB, free: 1.711 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005637/1.094, allocations: 1.77 MB / 1.157 GB, free: 15.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002607/1.097, allocations: 0.7781 MB / 1.158 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004428/1.101, allocations: 3.614 MB / 1.161 GB, free: 11.54 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/1.103, allocations: 0.908 MB / 1.162 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00488/1.108, allocations: 1.413 MB / 1.163 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/1.11, allocations: 0.919 MB / 1.164 GB, free: 8.285 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/1.11, allocations: 48 kB / 1.164 GB, free: 8.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/1.113, allocations: 1.239 MB / 1.166 GB, free: 6.996 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/1.113, allocations: 450.7 kB / 1.166 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008145/1.114, allocations: 0.5808 MB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00242/1.116, allocations: 1.888 MB / 1.168 GB, free: 4.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.116, allocations: 8 kB / 1.168 GB, free: 4.062 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.114e-06/1.116, allocations: 0 / 1.168 GB, free: 4.062 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.985e-05/1.117, allocations: 0 / 1.168 GB, free: 4.062 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.00206/1.119, allocations: 1.235 MB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.119, allocations: 8.031 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.12, allocations: 250.4 kB / 1.17 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/1.121, allocations: 0.7531 MB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.121, allocations: 70 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/1.121, allocations: 96 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/1.123, allocations: 1.165 MB / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.123, allocations: 0 / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/1.123, allocations: 51.88 kB / 1.172 GB, free: 280 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/1.123, allocations: 30 kB / 1.172 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/1.125, allocations: 0.9015 MB / 1.173 GB, free: 15.34 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.006031/1.131, allocations: 5.735 MB / 1.179 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/1.132, allocations: 0.5394 MB / 1.179 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/1.132, allocations: 318.6 kB / 1.179 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005869/1.133, allocations: 319.7 kB / 1.18 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.133, allocations: 42.98 kB / 1.18 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/1.133, allocations: 4 kB / 1.18 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of matching and sorting (n=49): time 0.001615/1.134, allocations: 0.7987 MB / 1.18 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.186e-05/1.134, allocations: 59.78 kB / 1.181 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/1.135, allocations: 0.747 MB / 1.181 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/1.135, allocations: 37.7 kB / 1.181 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/1.136, allocations: 0.5143 MB / 1.182 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/1.136, allocations: 177.5 kB / 1.182 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/1.136, allocations: 57.69 kB / 1.182 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.136, allocations: 337.9 kB / 1.182 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/1.137, allocations: 253.9 kB / 1.183 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006585/1.137, allocations: 0.5508 MB / 1.183 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.138, allocations: 0.7995 MB / 1.184 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.138, allocations: 0 / 1.184 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001283/1.14, allocations: 0.8505 MB / 1.185 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.14, allocations: 8 kB / 1.185 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.14, allocations: 11.98 kB / 1.185 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.14, allocations: 12 kB / 1.185 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/1.14, allocations: 151.8 kB / 1.185 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/1.14, allocations: 19.92 kB / 1.185 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/1.141, allocations: 151.2 kB / 1.185 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/1.141, allocations: 35.94 kB / 1.185 GB, free: 2.012 MB / 0.9356 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.0004363/1.142, allocations: 330 kB / 1.185 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/1.142, allocations: 86.91 kB / 1.186 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.143, allocations: 0.6219 MB / 1.186 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.143, allocations: 8.031 kB / 1.186 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.143, allocations: 4 kB / 1.186 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006799/1.144, allocations: 0.5211 MB / 1.187 GB, free: 428 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/1.146, allocations: 1.671 MB / 1.188 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.146, allocations: 3.938 kB / 1.188 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004908/1.147, allocations: 107.9 kB / 1.188 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.147, allocations: 4 kB / 1.188 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/1.147, allocations: 12 kB / 1.188 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/1.147, allocations: 12.14 kB / 1.188 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/1.147, allocations: 8 kB / 1.188 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.148, allocations: 1.015 MB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/1.148, allocations: 223.9 kB / 1.19 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.916e-05/1.149, allocations: 15.98 kB / 1.19 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/1.149, allocations: 65.77 kB / 1.19 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/1.149, allocations: 31.95 kB / 1.19 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/1.149, allocations: 23.98 kB / 1.19 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006131/1.15, allocations: 0.5107 MB / 1.19 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.15, allocations: 0 / 1.19 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000874/1.151, allocations: 299.3 kB / 1.191 GB, free: 12.3 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.0004603/1.151, allocations: 205.8 kB / 1.191 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009592/1.152, allocations: 0.6109 MB / 1.191 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.152, allocations: 0 / 1.191 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003658/1.153, allocations: 273.2 kB / 1.192 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.155, allocations: 431.3 kB / 1.192 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/1.158, allocations: 2.407 MB / 1.194 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/1.159, allocations: 1.126 MB / 1.195 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009037/1.16, allocations: 267.1 kB / 1.196 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/1.16, allocations: 75.42 kB / 1.196 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/1.16, allocations: 0 / 1.196 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of Templates: time 0.02612/1.186, allocations: 14.87 MB / 1.21 GB, free: 8.215 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