Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 249.4 MB, free: 3.312 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.69/2.69, allocations: 443.4 MB / 0.7304 GB, free: 14.1 MB / 0.5763 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|masFraSou.V|vol.C.1.|senTraSub.C|senTraSubNoFlorRev.C|senPPM.ppm|masFraVol.V",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.TraceSubstances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 71.88 kB / 1.059 GB, free: 452 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3576, allocations: 160.7 MB / 1.216 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 1.09/1.448, allocations: 196.2 MB / 1.408 GB, free: 4.398 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02745/1.476, allocations: 14.48 MB / 1.422 GB, free: 8.719 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002304/1.478, allocations: 35.41 kB / 1.422 GB, free: 8.707 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/1.48, allocations: 0.5224 MB / 1.422 GB, free: 8.27 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.007152/1.487, allocations: 1.957 MB / 1.424 GB, free: 6.781 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003732/1.491, allocations: 0.8817 MB / 1.425 GB, free: 6.109 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004953/1.496, allocations: 2.59 MB / 1.428 GB, free: 4.621 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002/1.498, allocations: 0.7947 MB / 1.428 GB, free: 4.066 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005991/1.504, allocations: 1.657 MB / 1.43 GB, free: 3.074 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/1.507, allocations: 1.002 MB / 1.431 GB, free: 2.48 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005061/1.507, allocations: 106.7 kB / 1.431 GB, free: 2.48 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/1.51, allocations: 1.161 MB / 1.432 GB, free: 1.859 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/1.512, allocations: 0.5153 MB / 1.433 GB, free: 1.512 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/1.514, allocations: 0.6339 MB / 1.433 GB, free: 1.105 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005508/1.519, allocations: 1.913 MB / 1.435 GB, free: 15.56 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 7.505e-06/1.519, allocations: 0 / 1.435 GB, free: 15.56 MB / 1.108 GB Notification: Performance of FrontEnd: time 2.054e-06/1.519, allocations: 0 / 1.435 GB, free: 15.56 MB / 1.108 GB Notification: Performance of Transformations before backend: time 8.632e-05/1.519, allocations: 0 / 1.435 GB, free: 15.56 MB / 1.108 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.004425/1.524, allocations: 1.49 MB / 1.437 GB, free: 14.02 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.524, allocations: 12.03 kB / 1.437 GB, free: 14.01 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/1.525, allocations: 251 kB / 1.437 GB, free: 13.76 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/1.528, allocations: 0.8044 MB / 1.438 GB, free: 12.91 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/1.528, allocations: 70 kB / 1.438 GB, free: 12.85 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.528, allocations: 92 kB / 1.438 GB, free: 12.76 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.53, allocations: 1.173 MB / 1.439 GB, free: 11.51 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/1.53, allocations: 7.938 kB / 1.439 GB, free: 11.5 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.53, allocations: 36 kB / 1.439 GB, free: 11.47 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/1.531, allocations: 41.92 kB / 1.439 GB, free: 11.43 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/1.532, allocations: 0.9015 MB / 1.44 GB, free: 10.53 MB / 1.108 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.007855/1.54, allocations: 5.748 MB / 1.446 GB, free: 4.324 MB / 1.108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009883/1.541, allocations: 0.5092 MB / 1.446 GB, free: 3.809 MB / 1.108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005078/1.542, allocations: 302.6 kB / 1.446 GB, free: 3.512 MB / 1.108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/1.542, allocations: 307.7 kB / 1.447 GB, free: 3.156 MB / 1.108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.543, allocations: 43 kB / 1.447 GB, free: 3.105 MB / 1.108 GB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/1.543, allocations: 0 / 1.447 GB, free: 3.105 MB / 1.108 GB Notification: Performance of matching and sorting (n=49): time 0.001981/1.545, allocations: 0.803 MB / 1.448 GB, free: 2.293 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/1.545, allocations: 55.84 kB / 1.448 GB, free: 2.227 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/1.546, allocations: 0.7587 MB / 1.448 GB, free: 1.457 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/1.546, allocations: 37.7 kB / 1.448 GB, free: 1.414 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005645/1.547, allocations: 0.5156 MB / 1.449 GB, free: 0.8906 MB / 1.108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/1.547, allocations: 190.4 kB / 1.449 GB, free: 0.7031 MB / 1.108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/1.547, allocations: 146.6 kB / 1.449 GB, free: 0.5547 MB / 1.108 GB Notification: Performance of setup shared object (initialization): time 0.0002752/1.547, allocations: 337.9 kB / 1.45 GB, free: 224 kB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/1.548, allocations: 245.9 kB / 1.45 GB, free: 15.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008866/1.549, allocations: 0.5469 MB / 1.45 GB, free: 15.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.55, allocations: 0.8112 MB / 1.451 GB, free: 14.38 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.239e-05/1.55, allocations: 4 kB / 1.451 GB, free: 14.38 MB / 1.123 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001685/1.552, allocations: 0.8427 MB / 1.452 GB, free: 13.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/1.552, allocations: 8 kB / 1.452 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.552, allocations: 8 kB / 1.452 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/1.552, allocations: 12.78 kB / 1.452 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/1.552, allocations: 159.6 kB / 1.452 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.049e-05/1.552, allocations: 23.92 kB / 1.452 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008972/1.553, allocations: 87.34 kB / 1.452 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/1.553, allocations: 36 kB / 1.452 GB, free: 13.2 MB / 1.123 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.0005951/1.554, allocations: 340.2 kB / 1.453 GB, free: 12.86 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/1.554, allocations: 91.44 kB / 1.453 GB, free: 12.77 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/1.555, allocations: 0.6141 MB / 1.453 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.555, allocations: 4 kB / 1.453 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.556, allocations: 7.922 kB / 1.453 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000844/1.556, allocations: 0.5211 MB / 1.454 GB, free: 11.6 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/1.56, allocations: 1.659 MB / 1.455 GB, free: 9.859 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.56, allocations: 0 / 1.455 GB, free: 9.859 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/1.56, allocations: 119.8 kB / 1.456 GB, free: 9.742 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/1.56, allocations: 4 kB / 1.456 GB, free: 9.738 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/1.56, allocations: 15.98 kB / 1.456 GB, free: 9.723 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/1.56, allocations: 4 kB / 1.456 GB, free: 9.719 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.56, allocations: 4 kB / 1.456 GB, free: 9.715 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/1.562, allocations: 1.023 MB / 1.457 GB, free: 8.652 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/1.562, allocations: 232.3 kB / 1.457 GB, free: 8.406 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.563, allocations: 15.98 kB / 1.457 GB, free: 8.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/1.563, allocations: 12 kB / 1.457 GB, free: 8.379 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.563, allocations: 35.89 kB / 1.457 GB, free: 8.344 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/1.563, allocations: 23.98 kB / 1.457 GB, free: 8.32 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008882/1.564, allocations: 0.5068 MB / 1.457 GB, free: 7.82 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/1.564, allocations: 4 kB / 1.457 GB, free: 7.816 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001243/1.565, allocations: 299.5 kB / 1.458 GB, free: 7.523 MB / 1.123 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.0006834/1.566, allocations: 213.3 kB / 1.458 GB, free: 7.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001213/1.567, allocations: 0.5849 MB / 1.458 GB, free: 6.742 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.567, allocations: 4 kB / 1.458 GB, free: 6.738 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/1.568, allocations: 267.3 kB / 1.459 GB, free: 6.477 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/1.57, allocations: 444 kB / 1.459 GB, free: 6.047 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/1.574, allocations: 1.964 MB / 1.461 GB, free: 4.031 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.575, allocations: 1.118 MB / 1.462 GB, free: 2.887 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009703/1.576, allocations: 267.1 kB / 1.462 GB, free: 2.621 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/1.576, allocations: 71.42 kB / 1.462 GB, free: 2.551 MB / 1.123 GB Notification: Performance of SimCode: time 1.022e-06/1.576, allocations: 0 / 1.462 GB, free: 2.551 MB / 1.123 GB Notification: Performance of Templates: time 0.03186/1.608, allocations: 15.88 MB / 1.478 GB, free: 2.926 MB / 1.139 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_TraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.288133902475238]