Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007635/0.0007635, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9181/0.9181, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.806e-05/4.046e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.6428/0.6428, allocations: 172.5 MB / 1.151 GB, free: 12.64 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.6575, allocations: 13.12 MB / 1.164 GB, free: 3.848 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.6591, allocations: 59 kB / 1.164 GB, free: 3.812 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.6606, allocations: 0.4926 MB / 1.164 GB, free: 3.523 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004954/0.6656, allocations: 1.989 MB / 1.166 GB, free: 2.449 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.668, allocations: 0.9409 MB / 1.167 GB, free: 1.965 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003638/0.6716, allocations: 2.625 MB / 1.169 GB, free: 0.7383 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.6729, allocations: 0.795 MB / 1.17 GB, free: 364 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004874/0.6778, allocations: 2.206 MB / 1.172 GB, free: 15.4 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.6795, allocations: 0.8651 MB / 1.173 GB, free: 15.12 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.6797, allocations: 106.9 kB / 1.173 GB, free: 15.12 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.6817, allocations: 0.9278 MB / 1.174 GB, free: 14.8 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005296/0.6822, allocations: 0.5304 MB / 1.175 GB, free: 14.57 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.6828, allocations: 464.5 kB / 1.175 GB, free: 14.38 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002967/0.6858, allocations: 1.951 MB / 1.177 GB, free: 13.7 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.6858, allocations: 3.688 kB / 1.177 GB, free: 13.7 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6858, allocations: 0 / 1.177 GB, free: 13.7 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.6858, allocations: 0 / 1.177 GB, free: 13.7 MB / 1.026 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.002009/0.6879, allocations: 1.4 MB / 1.178 GB, free: 12.78 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6879, allocations: 12.22 kB / 1.179 GB, free: 12.78 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000894/0.6888, allocations: 263.7 kB / 1.179 GB, free: 12.7 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.6898, allocations: 0.7356 MB / 1.179 GB, free: 12.26 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.6899, allocations: 69.12 kB / 1.18 GB, free: 12.23 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.69, allocations: 94.47 kB / 1.18 GB, free: 12.2 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6913, allocations: 1.296 MB / 1.181 GB, free: 11.48 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6914, allocations: 1.25 kB / 1.181 GB, free: 11.48 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.12e-05/0.6914, allocations: 39.5 kB / 1.181 GB, free: 11.45 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.6915, allocations: 38.5 kB / 1.181 GB, free: 11.45 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6925, allocations: 0.8972 MB / 1.182 GB, free: 11.15 MB / 1.026 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.003836/0.6964, allocations: 3.987 MB / 1.186 GB, free: 8.34 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.6971, allocations: 0.5129 MB / 1.186 GB, free: 8.137 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.6974, allocations: 300.5 kB / 1.187 GB, free: 8.023 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.6977, allocations: 78.53 kB / 1.187 GB, free: 8.02 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.6977, allocations: 37.69 kB / 1.187 GB, free: 7.973 MB / 1.026 GB Notification: Performance of pre-optimization done (n=49): time 3.035e-06/0.6977, allocations: 4 kB / 1.187 GB, free: 7.969 MB / 1.026 GB Notification: Performance of matching and sorting (n=49): time 0.001155/0.6988, allocations: 0.7967 MB / 1.187 GB, free: 7.664 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.6989, allocations: 60.12 kB / 1.187 GB, free: 7.602 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007032/0.6996, allocations: 0.657 MB / 1.188 GB, free: 7.312 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.6996, allocations: 38.3 kB / 1.188 GB, free: 7.273 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.6999, allocations: 0.5239 MB / 1.189 GB, free: 6.852 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7, allocations: 183 kB / 1.189 GB, free: 6.707 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.7002, allocations: 144.6 kB / 1.189 GB, free: 6.633 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7003, allocations: 393.2 kB / 1.189 GB, free: 6.281 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.7006, allocations: 246.7 kB / 1.19 GB, free: 6.199 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004986/0.7011, allocations: 0.832 MB / 1.19 GB, free: 5.391 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.7018, allocations: 0.7965 MB / 1.191 GB, free: 4.855 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.7019, allocations: 6.719 kB / 1.191 GB, free: 4.852 MB / 1.026 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001197/0.7031, allocations: 0.8443 MB / 1.192 GB, free: 4.496 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7031, allocations: 7.844 kB / 1.192 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.7031, allocations: 7.594 kB / 1.192 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.7031, allocations: 11.84 kB / 1.192 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.7035, allocations: 159.1 kB / 1.192 GB, free: 4.477 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.7035, allocations: 18.23 kB / 1.192 GB, free: 4.473 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.704, allocations: 77.53 kB / 1.192 GB, free: 4.426 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.704, allocations: 32.47 kB / 1.192 GB, free: 4.422 MB / 1.026 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.0004323/0.7044, allocations: 338.6 kB / 1.193 GB, free: 4.203 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.7045, allocations: 87.17 kB / 1.193 GB, free: 4.156 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.7052, allocations: 0.6118 MB / 1.193 GB, free: 3.895 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.7052, allocations: 5.188 kB / 1.193 GB, free: 3.895 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7053, allocations: 4 kB / 1.193 GB, free: 3.891 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005072/0.7058, allocations: 0.5172 MB / 1.194 GB, free: 3.668 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.7075, allocations: 1.451 MB / 1.195 GB, free: 2.93 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7075, allocations: 1.688 kB / 1.195 GB, free: 2.93 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.7078, allocations: 108.5 kB / 1.195 GB, free: 2.922 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.7078, allocations: 8.25 kB / 1.195 GB, free: 2.918 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.7078, allocations: 17.94 kB / 1.195 GB, free: 2.91 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.7078, allocations: 3.562 kB / 1.195 GB, free: 2.91 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7078, allocations: 6.562 kB / 1.195 GB, free: 2.906 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.7088, allocations: 1.009 MB / 1.196 GB, free: 2.391 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.709, allocations: 142.3 kB / 1.197 GB, free: 2.316 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.7091, allocations: 17.56 kB / 1.197 GB, free: 2.305 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.7093, allocations: 18.56 kB / 1.197 GB, free: 2.297 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.7094, allocations: 37.41 kB / 1.197 GB, free: 2.289 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.7094, allocations: 22.06 kB / 1.197 GB, free: 2.281 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0003839/0.7098, allocations: 448.5 kB / 1.197 GB, free: 2.094 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7098, allocations: 0 / 1.197 GB, free: 2.094 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007782/0.7106, allocations: 313.4 kB / 1.197 GB, free: 2.02 MB / 1.026 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.0004609/0.711, allocations: 201.1 kB / 1.198 GB, free: 1.891 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0007072/0.7117, allocations: 0.5899 MB / 1.198 GB, free: 1.691 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.7117, allocations: 4 kB / 1.198 GB, free: 1.688 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.712, allocations: 258.7 kB / 1.198 GB, free: 1.605 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.713, allocations: 386.4 kB / 1.199 GB, free: 1.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002552/0.7155, allocations: 1.919 MB / 1.201 GB, free: 448 kB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.7159, allocations: 0.53 MB / 1.201 GB, free: 284 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.7161, allocations: 70.2 kB / 1.201 GB, free: 272 kB / 1.026 GB Notification: Performance of SimCode: time 1.042e-06/0.7161, allocations: 0 / 1.201 GB, free: 272 kB / 1.026 GB Notification: Performance of Templates: time 0.01669/0.7328, allocations: 14.43 MB / 1.215 GB, free: 9.02 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.413628604263067]