Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001445/0.001445, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001725/0.001725, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.027/3.027, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.704e-05, allocations: 2.812 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.04568/0.04572, allocations: 21.49 MB / 0.8318 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.05649, allocations: 4.759 MB / 0.8365 GB, free: 7.832 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.05768, allocations: 35.69 kB / 0.8365 GB, free: 7.797 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.05887, allocations: 285.9 kB / 0.8368 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.06203, allocations: 0.8506 MB / 0.8376 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.0646, allocations: 0.8062 MB / 0.8384 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002893/0.0675, allocations: 1.656 MB / 0.84 GB, free: 4.184 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.06857, allocations: 406.2 kB / 0.8404 GB, free: 3.785 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003143/0.07171, allocations: 0.9313 MB / 0.8413 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009971/0.07271, allocations: 398.7 kB / 0.8417 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.07289, allocations: 47.94 kB / 0.8417 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.07432, allocations: 426.9 kB / 0.8421 GB, free: 2.004 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.07462, allocations: 151.4 kB / 0.8423 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.07522, allocations: 219.5 kB / 0.8425 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.07764, allocations: 0.9502 MB / 0.8434 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.07765, allocations: 0 / 0.8434 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.753e-06/0.07765, allocations: 0 / 0.8434 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.07768, allocations: 0 / 0.8434 GB, free: 0.6875 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.002081/0.07976, allocations: 0.8237 MB / 0.8442 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.0798, allocations: 12.03 kB / 0.8442 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003703/0.08017, allocations: 116.4 kB / 0.8443 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.08164, allocations: 0.5264 MB / 0.8449 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.08167, allocations: 29.38 kB / 0.8449 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.08176, allocations: 44.31 kB / 0.8449 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.08266, allocations: 0.5173 MB / 0.8454 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.08268, allocations: 0 / 0.8454 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.08273, allocations: 16 kB / 0.8454 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.08276, allocations: 12 kB / 0.8455 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005648/0.08332, allocations: 303.7 kB / 0.8457 GB, free: 14.2 MB / 0.8073 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.002939/0.08626, allocations: 1.451 MB / 0.8472 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006018/0.08686, allocations: 246.8 kB / 0.8474 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.08707, allocations: 112.8 kB / 0.8475 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005361/0.08761, allocations: 111.8 kB / 0.8476 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.08765, allocations: 34.56 kB / 0.8476 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.08765, allocations: 0 / 0.8476 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.000814/0.08846, allocations: 371.6 kB / 0.848 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.08852, allocations: 59.34 kB / 0.8481 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.08909, allocations: 397.9 kB / 0.8484 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.08913, allocations: 33.7 kB / 0.8485 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.08939, allocations: 272.4 kB / 0.8487 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.08951, allocations: 103.2 kB / 0.8488 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.08964, allocations: 69.97 kB / 0.8489 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.08987, allocations: 362.7 kB / 0.8492 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.09006, allocations: 92.61 kB / 0.8493 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.09039, allocations: 245.2 kB / 0.8496 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004935/0.09089, allocations: 287.2 kB / 0.8498 GB, free: 9.832 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.09089, allocations: 4 kB / 0.8498 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00104/0.09193, allocations: 369.1 kB / 0.8502 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.09195, allocations: 4 kB / 0.8502 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.09196, allocations: 4 kB / 0.8502 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.09198, allocations: 4 kB / 0.8502 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.09228, allocations: 71.89 kB / 0.8503 GB, free: 9.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.09229, allocations: 7.938 kB / 0.8503 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.09254, allocations: 36 kB / 0.8503 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.09259, allocations: 12 kB / 0.8503 GB, free: 9.324 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0002509/0.09284, allocations: 185.7 kB / 0.8505 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.09296, allocations: 47.72 kB / 0.8505 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.09389, allocations: 478.2 kB / 0.851 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.0939, allocations: 4 kB / 0.851 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.09391, allocations: 4 kB / 0.851 GB, free: 8.605 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007308/0.09464, allocations: 0.5807 MB / 0.8516 GB, free: 7.957 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.09656, allocations: 0.9596 MB / 0.8525 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.09657, allocations: 0 / 0.8525 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/0.09681, allocations: 52.09 kB / 0.8526 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.09681, allocations: 8 kB / 0.8526 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.09684, allocations: 11.94 kB / 0.8526 GB, free: 6.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.09685, allocations: 7.984 kB / 0.8526 GB, free: 6.863 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.09686, allocations: 3.938 kB / 0.8526 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.09791, allocations: 0.6722 MB / 0.8533 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.09811, allocations: 91.58 kB / 0.8533 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.09817, allocations: 11.94 kB / 0.8534 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.09843, allocations: 11.98 kB / 0.8534 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.0985, allocations: 31.89 kB / 0.8534 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.09853, allocations: 12 kB / 0.8534 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003959/0.09892, allocations: 283.1 kB / 0.8537 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.09892, allocations: 0 / 0.8537 GB, free: 5.723 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007592/0.09968, allocations: 211.4 kB / 0.8539 GB, free: 5.516 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005619/0.1002, allocations: 278.9 kB / 0.8541 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006028/0.1008, allocations: 287.5 kB / 0.8544 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1009, allocations: 7.938 kB / 0.8544 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.1011, allocations: 155.7 kB / 0.8546 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.1024, allocations: 269.4 kB / 0.8548 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.1044, allocations: 0.9976 MB / 0.8558 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.1047, allocations: 270.2 kB / 0.8561 GB, free: 3.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003432/0.105, allocations: 108.2 kB / 0.8562 GB, free: 3.098 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.1052, allocations: 56.48 kB / 0.8562 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of SimCode: time 7.42e-07/0.1052, allocations: 0 / 0.8562 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of Templates: time 0.02231/0.1275, allocations: 10.81 MB / 0.8668 GB, free: 8.5 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.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: 8.767323913984]