Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00143/0.00143, 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.00164/0.00164, allocations: 217.4 kB / 23.01 MB, free: 5.125 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.322/1.322, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.925/2.925, allocations: 0.505 GB / 0.8108 GB, free: 22 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.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_latest_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_latest_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.001879/0.001879, allocations: 68.16 kB / 1.178 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3123, allocations: 180.2 MB / 1.354 GB, free: 8 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02483/0.3371, allocations: 23.82 MB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00756/0.3447, allocations: 5.131 MB / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.3454, allocations: 39.69 kB / 1.382 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.3462, allocations: 278 kB / 1.383 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.348, allocations: 0.8475 MB / 1.383 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3498, allocations: 0.8058 MB / 1.384 GB, free: 8.988 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.3518, allocations: 1.66 MB / 1.386 GB, free: 7.32 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.3523, allocations: 390.1 kB / 1.386 GB, free: 6.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.354, allocations: 0.7347 MB / 1.387 GB, free: 6.195 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.3546, allocations: 477.9 kB / 1.387 GB, free: 5.727 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.3547, allocations: 48 kB / 1.387 GB, free: 5.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3557, allocations: 0.5264 MB / 1.388 GB, free: 5.152 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.3559, allocations: 143.4 kB / 1.388 GB, free: 5.012 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.3562, allocations: 310.5 kB / 1.388 GB, free: 4.707 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.3575, allocations: 0.9498 MB / 1.389 GB, free: 3.754 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3575, allocations: 0 / 1.389 GB, free: 3.754 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3575, allocations: 0 / 1.389 GB, free: 3.754 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3575, allocations: 0 / 1.389 GB, free: 3.754 MB / 1.076 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.001279/0.3587, allocations: 0.8432 MB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.3588, allocations: 11.97 kB / 1.39 GB, free: 2.867 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.359, allocations: 68.56 kB / 1.39 GB, free: 2.801 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/0.3599, allocations: 0.5037 MB / 1.391 GB, free: 2.277 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.36, allocations: 32.94 kB / 1.391 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.36, allocations: 39.98 kB / 1.391 GB, free: 2.207 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.3607, allocations: 440.6 kB / 1.391 GB, free: 1.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.3607, allocations: 0 / 1.391 GB, free: 1.75 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.3607, allocations: 16 kB / 1.391 GB, free: 1.734 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.3608, allocations: 12 kB / 1.391 GB, free: 1.723 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.3613, allocations: 307.8 kB / 1.392 GB, free: 1.426 MB / 1.076 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.002575/0.3638, allocations: 1.78 MB / 1.393 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.3643, allocations: 246.7 kB / 1.394 GB, free: 15.29 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.3645, allocations: 112.7 kB / 1.394 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.365, allocations: 103.9 kB / 1.394 GB, free: 15.08 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.365, allocations: 42.56 kB / 1.394 GB, free: 15.03 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.222e-06/0.365, allocations: 0 / 1.394 GB, free: 15.03 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0006675/0.3657, allocations: 377.2 kB / 1.394 GB, free: 14.65 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.3657, allocations: 59.34 kB / 1.394 GB, free: 14.58 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00055/0.3663, allocations: 478 kB / 1.395 GB, free: 14.11 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3663, allocations: 29.7 kB / 1.395 GB, free: 14.07 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.3665, allocations: 260.4 kB / 1.395 GB, free: 13.81 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/0.3666, allocations: 103.1 kB / 1.395 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.3667, allocations: 73.91 kB / 1.395 GB, free: 13.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3669, allocations: 362.8 kB / 1.395 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.367, allocations: 96.61 kB / 1.396 GB, free: 13.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3673, allocations: 168 kB / 1.396 GB, free: 12.99 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3676, allocations: 274.7 kB / 1.396 GB, free: 12.7 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3676, allocations: 4 kB / 1.396 GB, free: 12.69 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005528/0.3682, allocations: 369.7 kB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3682, allocations: 9.719 kB / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3682, allocations: 0 / 1.396 GB, free: 12.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3682, allocations: 4 kB / 1.396 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.3685, allocations: 79.78 kB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3685, allocations: 7.984 kB / 1.396 GB, free: 12.23 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3688, allocations: 39.73 kB / 1.396 GB, free: 12.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3688, allocations: 16.22 kB / 1.396 GB, free: 12.17 MB / 1.092 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.0001949/0.369, allocations: 181.7 kB / 1.397 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.3691, allocations: 59.61 kB / 1.397 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007717/0.3698, allocations: 477 kB / 1.397 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.3699, allocations: 7.938 kB / 1.397 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3699, allocations: 0 / 1.397 GB, free: 11.45 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006209/0.3705, allocations: 0.5764 MB / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.3722, allocations: 1.064 MB / 1.399 GB, free: 9.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3722, allocations: 4 kB / 1.399 GB, free: 9.664 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3724, allocations: 47.97 kB / 1.399 GB, free: 9.617 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.3724, allocations: 7.938 kB / 1.399 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3724, allocations: 11.94 kB / 1.399 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.3724, allocations: 7.984 kB / 1.399 GB, free: 9.59 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3724, allocations: 4.188 kB / 1.399 GB, free: 9.586 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.3733, allocations: 0.6799 MB / 1.4 GB, free: 8.871 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3735, allocations: 103.7 kB / 1.4 GB, free: 8.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.3736, allocations: 8 kB / 1.4 GB, free: 8.762 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.3738, allocations: 11.98 kB / 1.4 GB, free: 8.75 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.3739, allocations: 27.95 kB / 1.4 GB, free: 8.723 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.182e-05/0.3739, allocations: 19.92 kB / 1.4 GB, free: 8.703 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004151/0.3743, allocations: 342.9 kB / 1.4 GB, free: 8.371 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.3743, allocations: 0 / 1.4 GB, free: 8.371 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005981/0.3749, allocations: 203.5 kB / 1.4 GB, free: 8.172 MB / 1.092 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.0004623/0.3754, allocations: 279.7 kB / 1.4 GB, free: 7.891 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004846/0.3758, allocations: 283.4 kB / 1.401 GB, free: 7.613 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3758, allocations: 0 / 1.401 GB, free: 7.613 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.3761, allocations: 164.3 kB / 1.401 GB, free: 7.453 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/0.3775, allocations: 335.5 kB / 1.401 GB, free: 7.137 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3792, allocations: 1.116 MB / 1.402 GB, free: 5.961 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.3796, allocations: 0.8588 MB / 1.403 GB, free: 5.074 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.3797, allocations: 63.34 kB / 1.403 GB, free: 5.012 MB / 1.092 GB Notification: Performance of SimCode: time 3.01e-07/0.3797, allocations: 4 kB / 1.403 GB, free: 5.008 MB / 1.092 GB Notification: Performance of Templates: time 0.01354/0.3933, allocations: 9.907 MB / 1.413 GB, free: 11.18 MB / 1.107 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.749472231022082]