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.001447/0.001447, allocations: 102.1 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.001641/0.001641, allocations: 219.9 kB / 23.01 MB, free: 4.605 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.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 179] 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 2.878/2.878, allocations: 0.49 GB / 0.7958 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.001929/0.001929, allocations: 74.17 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2892, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02447/0.3136, allocations: 23.82 MB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007288/0.3209, allocations: 5.127 MB / 1.355 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005603/0.3215, allocations: 39.69 kB / 1.355 GB, free: 4.348 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007145/0.3222, allocations: 286 kB / 1.356 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.3239, allocations: 0.8396 MB / 1.357 GB, free: 3.223 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.3256, allocations: 0.8034 MB / 1.357 GB, free: 2.426 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001805/0.3274, allocations: 1.66 MB / 1.359 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.3279, allocations: 394.1 kB / 1.359 GB, free: 376 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.3295, allocations: 0.7372 MB / 1.36 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000586/0.3301, allocations: 470 kB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.3301, allocations: 48 kB / 1.361 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009181/0.331, allocations: 0.5186 MB / 1.361 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3312, allocations: 143.4 kB / 1.361 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.3315, allocations: 318.5 kB / 1.361 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3328, allocations: 0.9498 MB / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3328, allocations: 0 / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3328, allocations: 0 / 1.362 GB, free: 13.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.3328, allocations: 0 / 1.362 GB, free: 13.2 MB / 1.061 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.001333/0.3341, allocations: 0.8353 MB / 1.363 GB, free: 12.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3342, allocations: 12.03 kB / 1.363 GB, free: 12.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.3344, allocations: 68.56 kB / 1.363 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009622/0.3353, allocations: 0.5037 MB / 1.364 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.3354, allocations: 32.94 kB / 1.364 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.3354, allocations: 43.98 kB / 1.364 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/0.3361, allocations: 440.7 kB / 1.364 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3361, allocations: 0 / 1.364 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.3361, allocations: 19.94 kB / 1.364 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.3362, allocations: 8 kB / 1.364 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.3367, allocations: 307.7 kB / 1.365 GB, free: 10.86 MB / 1.061 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.00256/0.3392, allocations: 1.784 MB / 1.366 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004908/0.3397, allocations: 242.7 kB / 1.367 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.3399, allocations: 116.8 kB / 1.367 GB, free: 8.621 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/0.3403, allocations: 115.9 kB / 1.367 GB, free: 8.508 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3404, allocations: 34.56 kB / 1.367 GB, free: 8.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.3404, allocations: 0 / 1.367 GB, free: 8.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.0006882/0.3411, allocations: 374.9 kB / 1.367 GB, free: 8.094 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.3411, allocations: 63.34 kB / 1.367 GB, free: 8.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.3416, allocations: 474 kB / 1.368 GB, free: 7.547 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3417, allocations: 33.7 kB / 1.368 GB, free: 7.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.3419, allocations: 260.4 kB / 1.368 GB, free: 7.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.342, allocations: 99.11 kB / 1.368 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3421, allocations: 70.02 kB / 1.368 GB, free: 7.078 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3422, allocations: 358.8 kB / 1.368 GB, free: 6.719 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.3424, allocations: 92.61 kB / 1.369 GB, free: 6.629 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.3426, allocations: 180 kB / 1.369 GB, free: 6.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.343, allocations: 274.7 kB / 1.369 GB, free: 6.137 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.343, allocations: 3.938 kB / 1.369 GB, free: 6.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005665/0.3436, allocations: 373.1 kB / 1.369 GB, free: 5.762 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3436, allocations: 4.219 kB / 1.369 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3436, allocations: 8 kB / 1.369 GB, free: 5.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3436, allocations: 4 kB / 1.369 GB, free: 5.746 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3439, allocations: 75.84 kB / 1.369 GB, free: 5.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3439, allocations: 7.922 kB / 1.369 GB, free: 5.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.3441, allocations: 35.73 kB / 1.37 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/0.3441, allocations: 16 kB / 1.37 GB, free: 5.613 MB / 1.061 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.0002/0.3443, allocations: 182.3 kB / 1.37 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.3444, allocations: 55.67 kB / 1.37 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.3452, allocations: 481.5 kB / 1.37 GB, free: 4.895 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.3452, allocations: 7.938 kB / 1.37 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3452, allocations: 3.938 kB / 1.37 GB, free: 4.883 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005989/0.3458, allocations: 0.5803 MB / 1.371 GB, free: 4.234 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.3475, allocations: 1.066 MB / 1.372 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3475, allocations: 0 / 1.372 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3478, allocations: 51.97 kB / 1.372 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3478, allocations: 4 kB / 1.372 GB, free: 3.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3478, allocations: 8 kB / 1.372 GB, free: 3.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.3478, allocations: 11.92 kB / 1.372 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3478, allocations: 0 / 1.372 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008807/0.3487, allocations: 0.691 MB / 1.373 GB, free: 2.301 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.3489, allocations: 99.58 kB / 1.373 GB, free: 2.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.3489, allocations: 8 kB / 1.373 GB, free: 2.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.3492, allocations: 12 kB / 1.373 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.3492, allocations: 23.95 kB / 1.373 GB, free: 2.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.3493, allocations: 23.92 kB / 1.373 GB, free: 2.137 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003953/0.3497, allocations: 346.9 kB / 1.373 GB, free: 1.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 1.373 GB, free: 1.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005792/0.3502, allocations: 207.5 kB / 1.373 GB, free: 1.598 MB / 1.061 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.0004211/0.3507, allocations: 274.8 kB / 1.374 GB, free: 1.32 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004657/0.3511, allocations: 284.7 kB / 1.374 GB, free: 1.043 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3511, allocations: 4 kB / 1.374 GB, free: 1.039 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.3514, allocations: 155.8 kB / 1.374 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.3527, allocations: 335.2 kB / 1.374 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3544, allocations: 1.109 MB / 1.375 GB, free: 15.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3548, allocations: 0.8627 MB / 1.376 GB, free: 14.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.355, allocations: 59.41 kB / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.355, allocations: 0 / 1.376 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Templates: time 0.01352/0.3685, allocations: 9.893 MB / 1.386 GB, free: 4.652 MB / 1.076 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/jenkins1/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: 11.633397603989579]