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.001432/0.001432, allocations: 113 kB / 18.94 MB, free: 2.934 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.00165/0.00165, allocations: 209.6 kB / 22.25 MB, free: 5.082 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 8.016 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.894/2.894, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.001848/0.001848, allocations: 66.8 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2873, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02417/0.3114, allocations: 23.81 MB / 1.376 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007297/0.3187, allocations: 5.123 MB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.3193, allocations: 35.69 kB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.32, allocations: 282 kB / 1.381 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.3217, allocations: 0.8474 MB / 1.382 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.3233, allocations: 0.799 MB / 1.383 GB, free: 9.438 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.3253, allocations: 1.659 MB / 1.385 GB, free: 7.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006263/0.3259, allocations: 402.1 kB / 1.385 GB, free: 7.371 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.3277, allocations: 0.7421 MB / 1.386 GB, free: 6.629 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.3284, allocations: 473.9 kB / 1.386 GB, free: 6.164 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.3285, allocations: 48 kB / 1.386 GB, free: 6.117 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3295, allocations: 0.5225 MB / 1.387 GB, free: 5.594 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3297, allocations: 143.4 kB / 1.387 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003098/0.33, allocations: 310.5 kB / 1.387 GB, free: 5.148 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3313, allocations: 0.9537 MB / 1.388 GB, free: 4.191 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3313, allocations: 0 / 1.388 GB, free: 4.191 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3313, allocations: 3.938 kB / 1.388 GB, free: 4.188 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3313, allocations: 0 / 1.388 GB, free: 4.188 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.001309/0.3326, allocations: 0.8354 MB / 1.389 GB, free: 3.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3326, allocations: 12.02 kB / 1.389 GB, free: 3.309 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.503e-05/0.3327, allocations: 78.72 kB / 1.389 GB, free: 3.223 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001888/0.3329, allocations: 64.56 kB / 1.389 GB, free: 3.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.3339, allocations: 0.5152 MB / 1.39 GB, free: 2.625 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.3339, allocations: 29 kB / 1.39 GB, free: 2.598 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.897e-05/0.334, allocations: 36 kB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.3346, allocations: 440.7 kB / 1.39 GB, free: 2.105 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3346, allocations: 0 / 1.39 GB, free: 2.105 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.3347, allocations: 16 kB / 1.39 GB, free: 2.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3347, allocations: 12 kB / 1.39 GB, free: 2.078 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.3352, allocations: 303.8 kB / 1.39 GB, free: 1.785 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.002549/0.3377, allocations: 1.788 MB / 1.392 GB, free: 15.89 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004858/0.3382, allocations: 245.2 kB / 1.392 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3384, allocations: 108.8 kB / 1.393 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/0.3389, allocations: 107.9 kB / 1.393 GB, free: 15.43 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3389, allocations: 46.48 kB / 1.393 GB, free: 15.38 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.3389, allocations: 0 / 1.393 GB, free: 15.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0006786/0.3396, allocations: 373 kB / 1.393 GB, free: 15.01 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.3396, allocations: 55.41 kB / 1.393 GB, free: 14.94 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.3402, allocations: 474 kB / 1.394 GB, free: 14.47 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.3402, allocations: 33.7 kB / 1.394 GB, free: 14.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.3404, allocations: 268.5 kB / 1.394 GB, free: 14.16 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.123e-05/0.3405, allocations: 103.1 kB / 1.394 GB, free: 14.06 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.3406, allocations: 69.97 kB / 1.394 GB, free: 13.99 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3408, allocations: 358.8 kB / 1.394 GB, free: 13.63 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3409, allocations: 92.61 kB / 1.394 GB, free: 13.54 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3412, allocations: 176 kB / 1.395 GB, free: 13.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.3416, allocations: 274.7 kB / 1.395 GB, free: 13.05 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3416, allocations: 0 / 1.395 GB, free: 13.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005513/0.3421, allocations: 369.6 kB / 1.395 GB, free: 12.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3421, allocations: 4 kB / 1.395 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3421, allocations: 4 kB / 1.395 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.3421, allocations: 7.938 kB / 1.395 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000261/0.3424, allocations: 80.11 kB / 1.395 GB, free: 12.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.3424, allocations: 11.88 kB / 1.395 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.3426, allocations: 31.73 kB / 1.395 GB, free: 12.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3427, allocations: 19.98 kB / 1.395 GB, free: 12.53 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.0001996/0.3429, allocations: 177.7 kB / 1.395 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.343, allocations: 51.67 kB / 1.396 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007741/0.3437, allocations: 485 kB / 1.396 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3438, allocations: 7.938 kB / 1.396 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3438, allocations: 0 / 1.396 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005887/0.3443, allocations: 0.5764 MB / 1.397 GB, free: 11.16 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.346, allocations: 1.06 MB / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.346, allocations: 0 / 1.398 GB, free: 10.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.3462, allocations: 55.91 kB / 1.398 GB, free: 9.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3462, allocations: 8.188 kB / 1.398 GB, free: 9.969 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.3463, allocations: 15.92 kB / 1.398 GB, free: 9.953 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3463, allocations: 7.938 kB / 1.398 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3463, allocations: 0 / 1.398 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.3471, allocations: 0.6799 MB / 1.398 GB, free: 9.23 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.3473, allocations: 99.53 kB / 1.398 GB, free: 9.133 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.495e-05/0.3474, allocations: 11.94 kB / 1.398 GB, free: 9.121 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3476, allocations: 8 kB / 1.398 GB, free: 9.113 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3477, allocations: 31.89 kB / 1.399 GB, free: 9.082 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.3477, allocations: 11.98 kB / 1.399 GB, free: 9.07 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004056/0.3481, allocations: 350.9 kB / 1.399 GB, free: 8.73 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/0.3481, allocations: 0 / 1.399 GB, free: 8.73 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006121/0.3487, allocations: 203.5 kB / 1.399 GB, free: 8.531 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.001548/0.3503, allocations: 1.39 MB / 1.4 GB, free: 7.098 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.3507, allocations: 292.1 kB / 1.401 GB, free: 6.812 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3508, allocations: 0 / 1.401 GB, free: 6.812 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.351, allocations: 151.8 kB / 1.401 GB, free: 6.664 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.3524, allocations: 348.3 kB / 1.401 GB, free: 6.332 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005097/0.3575, allocations: 4.233 MB / 1.405 GB, free: 1.93 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004553/0.3579, allocations: 0.8666 MB / 1.406 GB, free: 1.035 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.3582, allocations: 120.7 kB / 1.406 GB, free: 0.9141 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.3585, allocations: 187.4 kB / 1.406 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of SimCode: time 3.4e-07/0.3585, allocations: 0 / 1.406 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.406, allocations: 17.37 MB / 1.423 GB, free: 15.64 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.99, allocations: 1.875 kB / 1.423 GB, free: 15.64 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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] "Error: Could not read variable senHeaFlo.Q_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.02752794800017]