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.001191/0.001191, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001327/0.001327, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.777 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.955/2.955, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [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.001953/0.001953, allocations: 71.52 kB / 1.186 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3269, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02423/0.3512, allocations: 21.64 MB / 1.385 GB, free: 8.312 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007373/0.3586, allocations: 4.747 MB / 1.389 GB, free: 3.555 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006348/0.3592, allocations: 35.69 kB / 1.389 GB, free: 3.52 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007529/0.3599, allocations: 282 kB / 1.389 GB, free: 3.242 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.3618, allocations: 0.828 MB / 1.39 GB, free: 2.41 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.3636, allocations: 0.7877 MB / 1.391 GB, free: 1.629 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.3655, allocations: 1.64 MB / 1.393 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005856/0.3661, allocations: 390.1 kB / 1.393 GB, free: 15.6 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.3678, allocations: 0.7499 MB / 1.394 GB, free: 14.85 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.3684, allocations: 442 kB / 1.394 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.3685, allocations: 47.94 kB / 1.394 GB, free: 14.37 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008732/0.3693, allocations: 411.2 kB / 1.395 GB, free: 13.96 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3695, allocations: 143.5 kB / 1.395 GB, free: 13.82 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002725/0.3698, allocations: 254.8 kB / 1.395 GB, free: 13.57 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3709, allocations: 0.942 MB / 1.396 GB, free: 12.63 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3709, allocations: 0 / 1.396 GB, free: 12.63 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.322e-06/0.371, allocations: 4 kB / 1.396 GB, free: 12.62 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.371, allocations: 0 / 1.396 GB, free: 12.62 MB / 1.092 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.001268/0.3722, allocations: 0.8275 MB / 1.397 GB, free: 11.76 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3723, allocations: 12.03 kB / 1.397 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.834e-05/0.3724, allocations: 82.64 kB / 1.397 GB, free: 11.66 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.3725, allocations: 72.52 kB / 1.397 GB, free: 11.59 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.3736, allocations: 0.5113 MB / 1.397 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3736, allocations: 29 kB / 1.397 GB, free: 11.03 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3737, allocations: 43.95 kB / 1.397 GB, free: 10.98 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007117/0.3744, allocations: 0.4979 MB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.3744, allocations: 3.938 kB / 1.398 GB, free: 10.45 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.3745, allocations: 16 kB / 1.398 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.953e-05/0.3745, allocations: 8 kB / 1.398 GB, free: 10.42 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.375, allocations: 307.8 kB / 1.398 GB, free: 10.12 MB / 1.092 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.002479/0.3775, allocations: 1.513 MB / 1.4 GB, free: 8.547 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005254/0.378, allocations: 266.5 kB / 1.4 GB, free: 8.277 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.3782, allocations: 112.8 kB / 1.4 GB, free: 8.164 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004674/0.3787, allocations: 99.89 kB / 1.4 GB, free: 8.066 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3787, allocations: 38.56 kB / 1.4 GB, free: 8.02 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.3787, allocations: 4 kB / 1.4 GB, free: 8.016 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0007067/0.3794, allocations: 374.6 kB / 1.401 GB, free: 7.645 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.3794, allocations: 51.41 kB / 1.401 GB, free: 7.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005596/0.38, allocations: 486 kB / 1.401 GB, free: 7.098 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.38, allocations: 33.7 kB / 1.401 GB, free: 7.059 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3802, allocations: 260.3 kB / 1.401 GB, free: 6.801 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.3803, allocations: 99.16 kB / 1.401 GB, free: 6.703 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3804, allocations: 70.03 kB / 1.402 GB, free: 6.629 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3806, allocations: 358.8 kB / 1.402 GB, free: 6.27 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3808, allocations: 96.59 kB / 1.402 GB, free: 6.176 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.3811, allocations: 245.2 kB / 1.402 GB, free: 5.895 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/0.3815, allocations: 278.8 kB / 1.402 GB, free: 5.598 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3815, allocations: 0 / 1.402 GB, free: 5.598 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005811/0.3821, allocations: 373.7 kB / 1.403 GB, free: 5.227 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3821, allocations: 8 kB / 1.403 GB, free: 5.219 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3821, allocations: 0 / 1.403 GB, free: 5.219 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3821, allocations: 7.938 kB / 1.403 GB, free: 5.211 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3824, allocations: 71.89 kB / 1.403 GB, free: 5.141 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3824, allocations: 4 kB / 1.403 GB, free: 5.137 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.3826, allocations: 39.67 kB / 1.403 GB, free: 5.098 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.3826, allocations: 19.98 kB / 1.403 GB, free: 5.078 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.000202/0.3828, allocations: 177.9 kB / 1.403 GB, free: 4.895 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.3829, allocations: 59.61 kB / 1.403 GB, free: 4.836 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.3837, allocations: 484.8 kB / 1.404 GB, free: 4.355 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.3837, allocations: 15.92 kB / 1.404 GB, free: 4.34 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3838, allocations: 8 kB / 1.404 GB, free: 4.332 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005957/0.3843, allocations: 0.5648 MB / 1.404 GB, free: 3.699 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.386, allocations: 1.01 MB / 1.405 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.386, allocations: 0 / 1.405 GB, free: 2.621 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.3862, allocations: 51.91 kB / 1.405 GB, free: 2.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.3862, allocations: 8.188 kB / 1.405 GB, free: 2.562 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3863, allocations: 11.94 kB / 1.405 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3863, allocations: 4 kB / 1.405 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3863, allocations: 0 / 1.405 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.3872, allocations: 0.6874 MB / 1.406 GB, free: 1.824 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.3874, allocations: 99.53 kB / 1.406 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.3874, allocations: 11.98 kB / 1.406 GB, free: 1.715 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3877, allocations: 8 kB / 1.406 GB, free: 1.707 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3877, allocations: 27.89 kB / 1.406 GB, free: 1.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.3877, allocations: 16 kB / 1.406 GB, free: 1.664 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004097/0.3882, allocations: 354.8 kB / 1.406 GB, free: 1.32 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.3882, allocations: 0 / 1.406 GB, free: 1.32 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000582/0.3887, allocations: 203.5 kB / 1.407 GB, free: 1.121 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.001504/0.3902, allocations: 1.39 MB / 1.408 GB, free: 15.69 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004865/0.3907, allocations: 290.5 kB / 1.408 GB, free: 15.41 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3907, allocations: 0 / 1.408 GB, free: 15.41 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.391, allocations: 155.8 kB / 1.408 GB, free: 15.25 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.3924, allocations: 331.3 kB / 1.409 GB, free: 14.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/0.3976, allocations: 4.236 MB / 1.413 GB, free: 10.53 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3979, allocations: 266.4 kB / 1.413 GB, free: 10.24 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.3982, allocations: 124.6 kB / 1.413 GB, free: 10.12 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002702/0.3985, allocations: 195.3 kB / 1.413 GB, free: 9.926 MB / 1.107 GB Notification: Performance of SimCode: time 6.31e-07/0.3985, allocations: 0 / 1.413 GB, free: 9.926 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04923/0.4477, allocations: 18.77 MB / 1.432 GB, free: 7.586 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.18, allocations: 2.031 kB / 1.432 GB, free: 7.586 MB / 1.123 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 840.0] 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: 17.231560330837965]