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.001547/0.001547, allocations: 108.2 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001556/0.001556, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.172/3.172, allocations: 0.49 GB / 0.7916 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.92 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4432, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2581/0.7014, allocations: 198.8 MB / 1.515 GB, free: 11.26 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.7213, allocations: 14.41 MB / 1.529 GB, free: 12.81 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.723, allocations: 55.56 kB / 1.53 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001762/0.7247, allocations: 0.5085 MB / 1.53 GB, free: 12.24 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005171/0.7299, allocations: 1.96 MB / 1.532 GB, free: 10.27 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.7324, allocations: 0.8732 MB / 1.533 GB, free: 9.406 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003596/0.736, allocations: 2.565 MB / 1.535 GB, free: 6.828 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.7374, allocations: 0.9273 MB / 1.536 GB, free: 5.879 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.7427, allocations: 1.881 MB / 1.538 GB, free: 4.008 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.7445, allocations: 0.9758 MB / 1.539 GB, free: 3.031 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.7447, allocations: 104 kB / 1.539 GB, free: 2.93 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.7471, allocations: 1.146 MB / 1.54 GB, free: 1.781 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005938/0.7477, allocations: 0.5063 MB / 1.541 GB, free: 1.273 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008394/0.7486, allocations: 0.63 MB / 1.541 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003047/0.7516, allocations: 1.927 MB / 1.543 GB, free: 14.71 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7516, allocations: 0 / 1.543 GB, free: 14.71 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7516, allocations: 0 / 1.543 GB, free: 14.71 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.7516, allocations: 0 / 1.543 GB, free: 14.71 MB / 1.248 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.002496/0.7541, allocations: 1.486 MB / 1.545 GB, free: 13.17 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.7542, allocations: 19.98 kB / 1.545 GB, free: 13.15 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7556, allocations: 259 kB / 1.545 GB, free: 12.89 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.757, allocations: 0.7936 MB / 1.546 GB, free: 12.06 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.757, allocations: 74 kB / 1.546 GB, free: 11.98 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.7572, allocations: 95.94 kB / 1.546 GB, free: 11.89 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.7591, allocations: 1.173 MB / 1.547 GB, free: 10.65 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7592, allocations: 0 / 1.547 GB, free: 10.65 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.7593, allocations: 43.94 kB / 1.547 GB, free: 10.61 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-05/0.7593, allocations: 37.98 kB / 1.547 GB, free: 10.57 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.7608, allocations: 0.9015 MB / 1.548 GB, free: 9.664 MB / 1.248 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.006752/0.7676, allocations: 5.827 MB / 1.554 GB, free: 3.363 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009481/0.7685, allocations: 0.5215 MB / 1.554 GB, free: 2.832 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.769, allocations: 294.6 kB / 1.554 GB, free: 2.539 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.7697, allocations: 311.7 kB / 1.555 GB, free: 2.18 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.7697, allocations: 46.94 kB / 1.555 GB, free: 2.121 MB / 1.248 GB Notification: Performance of pre-optimization done (n=49): time 1.753e-06/0.7697, allocations: 0 / 1.555 GB, free: 2.121 MB / 1.248 GB Notification: Performance of matching and sorting (n=49): time 0.001658/0.7714, allocations: 0.7992 MB / 1.556 GB, free: 1.32 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.7714, allocations: 59.84 kB / 1.556 GB, free: 1.25 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.7725, allocations: 0.7471 MB / 1.556 GB, free: 0.4961 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.372e-05/0.7725, allocations: 37.7 kB / 1.556 GB, free: 464 kB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.773, allocations: 0.5157 MB / 1.557 GB, free: 15.93 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.7732, allocations: 190.4 kB / 1.557 GB, free: 15.74 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002306/0.7734, allocations: 146.6 kB / 1.557 GB, free: 15.59 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.7736, allocations: 341.6 kB / 1.558 GB, free: 15.25 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.7741, allocations: 241.9 kB / 1.558 GB, free: 15.02 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.7748, allocations: 0.5585 MB / 1.558 GB, free: 14.32 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.7759, allocations: 0.8035 MB / 1.559 GB, free: 13.41 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7759, allocations: 4 kB / 1.559 GB, free: 13.41 MB / 1.264 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00137/0.7773, allocations: 0.8465 MB / 1.56 GB, free: 12.55 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.7773, allocations: 8 kB / 1.56 GB, free: 12.54 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.7774, allocations: 8 kB / 1.56 GB, free: 12.54 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.7774, allocations: 12.81 kB / 1.56 GB, free: 12.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.7779, allocations: 155.8 kB / 1.56 GB, free: 12.37 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.778, allocations: 19.92 kB / 1.56 GB, free: 12.35 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.7787, allocations: 91.33 kB / 1.56 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.7788, allocations: 36 kB / 1.56 GB, free: 12.23 MB / 1.264 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.0004726/0.7792, allocations: 329.5 kB / 1.561 GB, free: 11.89 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.7794, allocations: 95.38 kB / 1.561 GB, free: 11.8 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7805, allocations: 0.6179 MB / 1.561 GB, free: 11.18 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.7805, allocations: 4 kB / 1.561 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.7805, allocations: 3.984 kB / 1.561 GB, free: 11.17 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008197/0.7813, allocations: 0.5211 MB / 1.562 GB, free: 10.64 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.7842, allocations: 1.671 MB / 1.563 GB, free: 8.887 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.7842, allocations: 0 / 1.563 GB, free: 8.887 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.7847, allocations: 111.9 kB / 1.564 GB, free: 8.777 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.7847, allocations: 4 kB / 1.564 GB, free: 8.773 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.132e-05/0.7848, allocations: 19.98 kB / 1.564 GB, free: 8.754 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7848, allocations: 0 / 1.564 GB, free: 8.754 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7848, allocations: 4 kB / 1.564 GB, free: 8.75 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.7864, allocations: 1.031 MB / 1.565 GB, free: 7.68 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004046/0.7868, allocations: 236.4 kB / 1.565 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.7869, allocations: 11.94 kB / 1.565 GB, free: 7.418 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.7874, allocations: 20 kB / 1.565 GB, free: 7.398 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.7874, allocations: 39.67 kB / 1.565 GB, free: 7.359 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.7875, allocations: 19.98 kB / 1.565 GB, free: 7.34 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.000708/0.7882, allocations: 0.5107 MB / 1.565 GB, free: 6.832 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.7882, allocations: 0 / 1.565 GB, free: 6.832 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001017/0.7892, allocations: 303.4 kB / 1.566 GB, free: 6.535 MB / 1.264 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.0005328/0.7897, allocations: 203.9 kB / 1.566 GB, free: 6.332 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0009819/0.7907, allocations: 0.5844 MB / 1.566 GB, free: 5.75 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7907, allocations: 0.6875 kB / 1.566 GB, free: 5.75 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.7911, allocations: 264 kB / 1.567 GB, free: 5.492 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.793, allocations: 434.3 kB / 1.567 GB, free: 5.074 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.7966, allocations: 1.956 MB / 1.569 GB, free: 3.066 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/0.7974, allocations: 1.122 MB / 1.57 GB, free: 1.918 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.7982, allocations: 267.1 kB / 1.57 GB, free: 1.652 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.7984, allocations: 75.42 kB / 1.57 GB, free: 1.578 MB / 1.264 GB Notification: Performance of SimCode: time 6.11e-07/0.7984, allocations: 0 / 1.57 GB, free: 1.578 MB / 1.264 GB Notification: Performance of Templates: time 0.03295/0.8314, allocations: 15.71 MB / 1.586 GB, free: 2.094 MB / 1.279 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.958238747902215]