Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001352/0.001352, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001279/0.001279, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.427/1.427, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.555/2.555, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5763 GB " [Timeout remaining time 177] 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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 79.83 kB / 1.057 GB, free: 1.984 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3554, allocations: 160.7 MB / 1.214 GB, free: 0.957 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02763/0.3831, allocations: 23.41 MB / 1.237 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008291/0.3914, allocations: 5.109 MB / 1.242 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.3924, allocations: 23.88 kB / 1.242 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009448/0.3933, allocations: 282 kB / 1.242 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.3957, allocations: 0.8241 MB / 1.243 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.3977, allocations: 0.7786 MB / 1.244 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002431/0.4002, allocations: 1.617 MB / 1.245 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007485/0.4009, allocations: 413.6 kB / 1.246 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.4026, allocations: 0.6265 MB / 1.246 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007604/0.4034, allocations: 486 kB / 1.247 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.4035, allocations: 44 kB / 1.247 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.4049, allocations: 0.4913 MB / 1.247 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.4051, allocations: 147.4 kB / 1.247 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.4055, allocations: 314.5 kB / 1.248 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.4071, allocations: 0.9265 MB / 1.249 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4071, allocations: 0 / 1.249 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4071, allocations: 0 / 1.249 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.4071, allocations: 0 / 1.249 GB, free: 13.37 MB / 0.9981 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.001559/0.4087, allocations: 0.9029 MB / 1.25 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4088, allocations: 12.02 kB / 1.25 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.409, allocations: 68.56 kB / 1.25 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4101, allocations: 0.5848 MB / 1.25 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.4101, allocations: 32.94 kB / 1.25 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/0.4102, allocations: 40 kB / 1.25 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007443/0.411, allocations: 436.7 kB / 1.251 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.411, allocations: 0 / 1.251 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.411, allocations: 20 kB / 1.251 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.4111, allocations: 8 kB / 1.251 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.4116, allocations: 307.8 kB / 1.251 GB, free: 10.87 MB / 0.9981 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.0029/0.4145, allocations: 1.916 MB / 1.253 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.415, allocations: 248.5 kB / 1.253 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.4152, allocations: 116.9 kB / 1.253 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009582/0.4162, allocations: 0.8544 MB / 1.254 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.4162, allocations: 34.56 kB / 1.254 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.4162, allocations: 0 / 1.254 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0007592/0.417, allocations: 379.7 kB / 1.254 GB, free: 7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.417, allocations: 59.34 kB / 1.255 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.4177, allocations: 474 kB / 1.255 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4177, allocations: 33.7 kB / 1.255 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.4179, allocations: 260.4 kB / 1.255 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.418, allocations: 103.2 kB / 1.255 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.4182, allocations: 77.97 kB / 1.255 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4183, allocations: 350.8 kB / 1.256 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.4185, allocations: 100.6 kB / 1.256 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.4188, allocations: 164.1 kB / 1.256 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.4192, allocations: 283.2 kB / 1.256 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4192, allocations: 4 kB / 1.256 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000618/0.4198, allocations: 365.1 kB / 1.257 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4198, allocations: 4 kB / 1.257 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4198, allocations: 0 / 1.257 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4199, allocations: 7.984 kB / 1.257 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.4201, allocations: 75.78 kB / 1.257 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4202, allocations: 4.219 kB / 1.257 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.4204, allocations: 55.62 kB / 1.257 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.4205, allocations: 15.98 kB / 1.257 GB, free: 4.512 MB / 0.9981 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.0002197/0.4207, allocations: 177.8 kB / 1.257 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.927e-05/0.4208, allocations: 47.72 kB / 1.257 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008538/0.4216, allocations: 476.9 kB / 1.257 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4217, allocations: 11.92 kB / 1.257 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4217, allocations: 0 / 1.257 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006415/0.4223, allocations: 0.5684 MB / 1.258 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.4242, allocations: 1.148 MB / 1.259 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.4242, allocations: 4 kB / 1.259 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.4244, allocations: 51.91 kB / 1.259 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4245, allocations: 4.031 kB / 1.259 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.4245, allocations: 12.19 kB / 1.259 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4245, allocations: 4 kB / 1.259 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.4245, allocations: 4 kB / 1.259 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.4255, allocations: 0.6689 MB / 1.26 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.4257, allocations: 180.6 kB / 1.26 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.4257, allocations: 8 kB / 1.26 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.426, allocations: 8 kB / 1.26 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.4261, allocations: 27.91 kB / 1.26 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.4261, allocations: 19.92 kB / 1.26 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004305/0.4265, allocations: 346.9 kB / 1.26 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4265, allocations: 4 kB / 1.26 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00064/0.4272, allocations: 195.6 kB / 1.261 GB, free: 356 kB / 0.9981 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.0006894/0.4279, allocations: 309 kB / 1.261 GB, free: 44 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5842/1.012, allocations: 272.8 kB / 1.261 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.012, allocations: 0 / 1.261 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/1.012, allocations: 152.3 kB / 1.261 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/1.014, allocations: 331.8 kB / 1.262 GB, free: 51.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/1.016, allocations: 1.101 MB / 1.263 GB, free: 51.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/1.016, allocations: 0.8676 MB / 1.264 GB, free: 50.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/1.016, allocations: 55.5 kB / 1.264 GB, free: 50.47 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.016, allocations: 0 / 1.264 GB, free: 50.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.0189/1.035, allocations: 9.963 MB / 1.273 GB, free: 49.43 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.230885996017605]