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.001316/0.001316, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001445/0.001445, allocations: 217.7 kB / 22.25 MB, free: 5.102 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.986/2.986, allocations: 0.49 GB / 0.7951 GB, free: 35.6 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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_12_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.001922/0.001922, allocations: 62.47 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2997, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02401/0.3237, allocations: 21.66 MB / 1.347 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008398/0.3321, allocations: 4.738 MB / 1.352 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009018/0.333, allocations: 35.69 kB / 1.352 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008818/0.3339, allocations: 286 kB / 1.352 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.3362, allocations: 0.8358 MB / 1.353 GB, free: 5.871 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.338, allocations: 0.7923 MB / 1.354 GB, free: 5.082 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.34, allocations: 1.641 MB / 1.355 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.3406, allocations: 406.1 kB / 1.356 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.3421, allocations: 0.7381 MB / 1.356 GB, free: 2.293 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.3427, allocations: 470 kB / 1.357 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.515e-05/0.3428, allocations: 44 kB / 1.357 GB, free: 1.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008221/0.3436, allocations: 423.2 kB / 1.357 GB, free: 1.375 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.3438, allocations: 143.4 kB / 1.357 GB, free: 1.234 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.344, allocations: 258.8 kB / 1.358 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.3452, allocations: 0.9341 MB / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3452, allocations: 0 / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3452, allocations: 0 / 1.358 GB, free: 44 kB / 1.045 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.3452, allocations: 0 / 1.358 GB, free: 44 kB / 1.045 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.001274/0.3465, allocations: 0.8355 MB / 1.359 GB, free: 15.17 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3466, allocations: 16.02 kB / 1.359 GB, free: 15.15 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.088e-05/0.3466, allocations: 78.66 kB / 1.359 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.3468, allocations: 68.56 kB / 1.359 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.3478, allocations: 0.5112 MB / 1.36 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3479, allocations: 29 kB / 1.36 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.65e-05/0.3479, allocations: 48 kB / 1.36 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006904/0.3486, allocations: 0.5018 MB / 1.36 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.3486, allocations: 3.938 kB / 1.36 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.3487, allocations: 16 kB / 1.36 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.3487, allocations: 11.94 kB / 1.36 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.3492, allocations: 303.8 kB / 1.361 GB, free: 13.52 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.00239/0.3516, allocations: 1.521 MB / 1.362 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.3521, allocations: 246.7 kB / 1.363 GB, free: 11.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3522, allocations: 112.8 kB / 1.363 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.3527, allocations: 103.9 kB / 1.363 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3527, allocations: 38.56 kB / 1.363 GB, free: 11.43 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3527, allocations: 0 / 1.363 GB, free: 11.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.000655/0.3534, allocations: 375.5 kB / 1.363 GB, free: 11.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.3534, allocations: 55.34 kB / 1.363 GB, free: 10.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.354, allocations: 482 kB / 1.364 GB, free: 10.51 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.354, allocations: 33.7 kB / 1.364 GB, free: 10.47 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3542, allocations: 260.4 kB / 1.364 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.3543, allocations: 107.2 kB / 1.364 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3544, allocations: 69.98 kB / 1.364 GB, free: 10.04 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3545, allocations: 358.8 kB / 1.364 GB, free: 9.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3547, allocations: 96.59 kB / 1.365 GB, free: 9.582 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.355, allocations: 245.2 kB / 1.365 GB, free: 9.301 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003997/0.3554, allocations: 286.7 kB / 1.365 GB, free: 8.996 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3554, allocations: 0 / 1.365 GB, free: 8.996 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005698/0.3559, allocations: 365 kB / 1.365 GB, free: 8.633 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3559, allocations: 9.406 kB / 1.365 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3559, allocations: 0 / 1.365 GB, free: 8.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.356, allocations: 15.86 kB / 1.365 GB, free: 8.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.3562, allocations: 72.12 kB / 1.365 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3562, allocations: 8 kB / 1.365 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.3565, allocations: 39.67 kB / 1.365 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3565, allocations: 19.98 kB / 1.366 GB, free: 8.473 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.0001905/0.3567, allocations: 174.4 kB / 1.366 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.3568, allocations: 47.72 kB / 1.366 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.3576, allocations: 481.5 kB / 1.366 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.3576, allocations: 19.8 kB / 1.366 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3576, allocations: 4 kB / 1.366 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005833/0.3582, allocations: 0.5648 MB / 1.367 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.3598, allocations: 1.017 MB / 1.368 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.3599, allocations: 4 kB / 1.368 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3601, allocations: 55.91 kB / 1.368 GB, free: 5.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3601, allocations: 4.047 kB / 1.368 GB, free: 5.965 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.5e-05/0.3601, allocations: 11.98 kB / 1.368 GB, free: 5.953 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3601, allocations: 4 kB / 1.368 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3601, allocations: 0 / 1.368 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.361, allocations: 0.6911 MB / 1.369 GB, free: 5.223 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.3612, allocations: 107.5 kB / 1.369 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.3613, allocations: 11.98 kB / 1.369 GB, free: 5.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.3615, allocations: 8 kB / 1.369 GB, free: 5.098 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.3616, allocations: 27.89 kB / 1.369 GB, free: 5.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.3616, allocations: 15.98 kB / 1.369 GB, free: 5.055 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004155/0.362, allocations: 346.9 kB / 1.369 GB, free: 4.719 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.362, allocations: 3.938 kB / 1.369 GB, free: 4.715 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005963/0.3626, allocations: 199.6 kB / 1.369 GB, free: 4.52 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.001535/0.3641, allocations: 1.386 MB / 1.371 GB, free: 3.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3646, allocations: 287.7 kB / 1.371 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3646, allocations: 0 / 1.371 GB, free: 2.809 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.3649, allocations: 152.4 kB / 1.371 GB, free: 2.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.3663, allocations: 349.9 kB / 1.371 GB, free: 2.324 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005214/0.3715, allocations: 4.231 MB / 1.375 GB, free: 13.92 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3718, allocations: 270.4 kB / 1.376 GB, free: 13.63 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003353/0.3721, allocations: 112.7 kB / 1.376 GB, free: 13.52 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.3724, allocations: 191.4 kB / 1.376 GB, free: 13.33 MB / 1.076 GB Notification: Performance of SimCode: time 4.6e-07/0.3724, allocations: 0 / 1.376 GB, free: 13.33 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05192/0.4243, allocations: 18.92 MB / 1.394 GB, free: 10.84 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 4.062 kB / 1.394 GB, free: 10.84 MB / 1.092 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_12_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/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] "Error: Could not read variable senHeaFlo.Q_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.85883865499636]