Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001302/0.001302, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001486/0.001486, allocations: 217.8 kB / 23.01 MB, free: 4.609 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.315/1.315, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.928/2.928, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001869/0.001869, allocations: 67.98 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3106, allocations: 180.2 MB / 1.354 GB, free: 7.898 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2047/0.5153, allocations: 199.2 MB / 1.549 GB, free: 15.97 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.5327, allocations: 14.51 MB / 1.563 GB, free: 1.422 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.5338, allocations: 51.56 kB / 1.563 GB, free: 1.371 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.5352, allocations: 0.5202 MB / 1.563 GB, free: 0.8477 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.5397, allocations: 1.992 MB / 1.565 GB, free: 14.85 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.542, allocations: 0.8992 MB / 1.566 GB, free: 13.95 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.5453, allocations: 2.628 MB / 1.569 GB, free: 11.32 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.5465, allocations: 0.8107 MB / 1.57 GB, free: 10.48 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.551, allocations: 1.909 MB / 1.571 GB, free: 8.586 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.5525, allocations: 0.9778 MB / 1.572 GB, free: 7.609 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001705/0.5527, allocations: 104 kB / 1.572 GB, free: 7.508 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.5548, allocations: 1.169 MB / 1.574 GB, free: 6.336 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005128/0.5553, allocations: 0.5103 MB / 1.574 GB, free: 5.824 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.556, allocations: 0.63 MB / 1.575 GB, free: 5.191 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.5585, allocations: 1.923 MB / 1.577 GB, free: 3.262 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5585, allocations: 0 / 1.577 GB, free: 3.262 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5585, allocations: 0 / 1.577 GB, free: 3.262 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.5585, allocations: 4 kB / 1.577 GB, free: 3.258 MB / 1.264 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.002141/0.5607, allocations: 1.411 MB / 1.578 GB, free: 1.812 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.5607, allocations: 8.031 kB / 1.578 GB, free: 1.805 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.562, allocations: 259 kB / 1.578 GB, free: 1.551 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5633, allocations: 0.7292 MB / 1.579 GB, free: 0.793 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.19e-05/0.5634, allocations: 77.94 kB / 1.579 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5635, allocations: 92 kB / 1.579 GB, free: 0.625 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.5652, allocations: 1.169 MB / 1.58 GB, free: 15.38 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.5652, allocations: 0 / 1.58 GB, free: 15.38 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.5653, allocations: 43.94 kB / 1.58 GB, free: 15.34 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.5653, allocations: 30 kB / 1.58 GB, free: 15.31 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.5667, allocations: 0.9054 MB / 1.581 GB, free: 14.4 MB / 1.279 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.005706/0.5724, allocations: 5.76 MB / 1.587 GB, free: 8.172 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.5732, allocations: 0.5147 MB / 1.587 GB, free: 7.652 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.5736, allocations: 298.6 kB / 1.588 GB, free: 7.355 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.5741, allocations: 88.41 kB / 1.588 GB, free: 7.27 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.5741, allocations: 42.94 kB / 1.588 GB, free: 7.219 MB / 1.279 GB Notification: Performance of pre-optimization done (n=49): time 2.114e-06/0.5741, allocations: 0 / 1.588 GB, free: 7.219 MB / 1.279 GB Notification: Performance of matching and sorting (n=49): time 0.001432/0.5755, allocations: 0.7992 MB / 1.589 GB, free: 6.41 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5756, allocations: 59.84 kB / 1.589 GB, free: 6.34 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.5765, allocations: 0.7471 MB / 1.589 GB, free: 5.586 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.5765, allocations: 41.7 kB / 1.589 GB, free: 5.539 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.5769, allocations: 0.5194 MB / 1.59 GB, free: 5.012 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.5771, allocations: 186.4 kB / 1.59 GB, free: 4.828 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.5773, allocations: 146.6 kB / 1.59 GB, free: 4.676 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5774, allocations: 337.9 kB / 1.59 GB, free: 4.34 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.5778, allocations: 245.8 kB / 1.591 GB, free: 4.102 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006264/0.5784, allocations: 0.5585 MB / 1.591 GB, free: 3.41 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009852/0.5794, allocations: 0.8035 MB / 1.592 GB, free: 2.496 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.5794, allocations: 7.938 kB / 1.592 GB, free: 2.488 MB / 1.279 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001253/0.5806, allocations: 0.8472 MB / 1.593 GB, free: 1.633 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5807, allocations: 9.25 kB / 1.593 GB, free: 1.625 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5807, allocations: 12.09 kB / 1.593 GB, free: 1.613 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.5807, allocations: 12 kB / 1.593 GB, free: 1.602 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005203/0.5812, allocations: 151.8 kB / 1.593 GB, free: 1.453 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.5812, allocations: 19.92 kB / 1.593 GB, free: 1.434 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.5818, allocations: 87.39 kB / 1.593 GB, free: 1.348 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.5819, allocations: 39.94 kB / 1.593 GB, free: 1.309 MB / 1.279 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.0004059/0.5823, allocations: 337.3 kB / 1.594 GB, free: 0.9688 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.5824, allocations: 99.44 kB / 1.594 GB, free: 0.8711 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009552/0.5834, allocations: 0.614 MB / 1.594 GB, free: 260 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5834, allocations: 4 kB / 1.594 GB, free: 256 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5834, allocations: 0 / 1.594 GB, free: 256 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007217/0.5841, allocations: 0.5212 MB / 1.595 GB, free: 15.71 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.5865, allocations: 1.631 MB / 1.596 GB, free: 14.01 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5865, allocations: 7.938 kB / 1.596 GB, free: 14 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004954/0.587, allocations: 107.9 kB / 1.596 GB, free: 13.9 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.587, allocations: 4 kB / 1.596 GB, free: 13.89 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.587, allocations: 16.22 kB / 1.596 GB, free: 13.88 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5871, allocations: 8 kB / 1.596 GB, free: 13.87 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5871, allocations: 3.938 kB / 1.596 GB, free: 13.87 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001324/0.5884, allocations: 1.019 MB / 1.597 GB, free: 12.81 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.5887, allocations: 163.2 kB / 1.598 GB, free: 12.65 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/0.5888, allocations: 8 kB / 1.598 GB, free: 12.64 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.5892, allocations: 19.98 kB / 1.598 GB, free: 12.62 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.5893, allocations: 32.03 kB / 1.598 GB, free: 12.59 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5893, allocations: 23.98 kB / 1.598 GB, free: 12.57 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006081/0.5899, allocations: 0.5107 MB / 1.598 GB, free: 12.06 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.5899, allocations: 0 / 1.598 GB, free: 12.06 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0008031/0.5908, allocations: 307.4 kB / 1.598 GB, free: 11.76 MB / 1.295 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.0004283/0.5912, allocations: 202.2 kB / 1.599 GB, free: 11.56 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.5921, allocations: 0.5885 MB / 1.599 GB, free: 10.97 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5921, allocations: 0 / 1.599 GB, free: 10.97 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/0.5925, allocations: 263.5 kB / 1.6 GB, free: 10.71 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.5942, allocations: 449.9 kB / 1.6 GB, free: 10.28 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002941/0.5971, allocations: 2.038 MB / 1.602 GB, free: 8.184 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.5979, allocations: 1.126 MB / 1.603 GB, free: 7.031 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.5981, allocations: 75.42 kB / 1.603 GB, free: 6.961 MB / 1.295 GB Notification: Performance of SimCode: time 5.82e-07/0.5981, allocations: 0 / 1.603 GB, free: 6.961 MB / 1.295 GB Notification: Performance of Templates: time 0.5672/1.165, allocations: 14.71 MB / 1.617 GB, free: 254 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 13.170181549008703]