Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.351/2.351, allocations: 443.5 MB / 0.7304 GB, free: 14.1 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.91 kB / 1.059 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02524/0.2873, allocations: 23.64 MB / 1.239 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007608/0.2949, allocations: 5.117 MB / 1.244 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.2957, allocations: 27.81 kB / 1.244 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008724/0.2966, allocations: 282 kB / 1.244 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.2986, allocations: 0.8318 MB / 1.245 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.3004, allocations: 0.7892 MB / 1.246 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.3023, allocations: 1.629 MB / 1.247 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005637/0.3028, allocations: 385.6 kB / 1.247 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3041, allocations: 0.6333 MB / 1.248 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006504/0.3048, allocations: 485.9 kB / 1.249 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.3049, allocations: 47.98 kB / 1.249 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.3058, allocations: 0.4913 MB / 1.249 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.3059, allocations: 147.4 kB / 1.249 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003143/0.3062, allocations: 306.5 kB / 1.25 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.3075, allocations: 0.9225 MB / 1.25 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3075, allocations: 0 / 1.25 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3075, allocations: 0 / 1.25 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.3075, allocations: 0 / 1.25 GB, free: 12.12 MB / 0.9981 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.001294/0.3088, allocations: 0.9107 MB / 1.251 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3088, allocations: 15.97 kB / 1.251 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.396e-05/0.3089, allocations: 78.66 kB / 1.251 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.3091, allocations: 72.55 kB / 1.251 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.31, allocations: 0.5845 MB / 1.252 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.31, allocations: 29 kB / 1.252 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.3101, allocations: 36 kB / 1.252 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.3107, allocations: 440.7 kB / 1.253 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3108, allocations: 4 kB / 1.253 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.3108, allocations: 16 kB / 1.253 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.3108, allocations: 15.94 kB / 1.253 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.3113, allocations: 299.8 kB / 1.253 GB, free: 9.52 MB / 0.9981 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.00247/0.3138, allocations: 1.923 MB / 1.255 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.3142, allocations: 238.8 kB / 1.255 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.3144, allocations: 112.8 kB / 1.255 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008277/0.3152, allocations: 0.8506 MB / 1.256 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.3153, allocations: 38.56 kB / 1.256 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.3153, allocations: 0 / 1.256 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26): time 0.0006387/0.3159, allocations: 371.9 kB / 1.256 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.316, allocations: 59.34 kB / 1.256 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.3165, allocations: 478 kB / 1.257 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.3165, allocations: 33.7 kB / 1.257 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.3167, allocations: 268.5 kB / 1.257 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.3168, allocations: 95.17 kB / 1.257 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3169, allocations: 73.97 kB / 1.257 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.317, allocations: 358.8 kB / 1.258 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.3172, allocations: 96.59 kB / 1.258 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3174, allocations: 172.1 kB / 1.258 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3178, allocations: 283.2 kB / 1.258 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3178, allocations: 0 / 1.258 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005555/0.3184, allocations: 365.1 kB / 1.258 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3184, allocations: 6.188 kB / 1.258 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3184, allocations: 4 kB / 1.258 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3184, allocations: 11.88 kB / 1.258 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3187, allocations: 72.11 kB / 1.259 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3187, allocations: 8 kB / 1.259 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.3189, allocations: 39.62 kB / 1.259 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.3189, allocations: 23.98 kB / 1.259 GB, free: 3.164 MB / 0.9981 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.0001819/0.3191, allocations: 173.8 kB / 1.259 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.865e-05/0.3192, allocations: 51.66 kB / 1.259 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007509/0.32, allocations: 473 kB / 1.259 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.32, allocations: 15.92 kB / 1.259 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.32, allocations: 4 kB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005762/0.3206, allocations: 0.5645 MB / 1.26 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3222, allocations: 1.152 MB / 1.261 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3222, allocations: 0 / 1.261 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3224, allocations: 51.91 kB / 1.261 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3224, allocations: 4.188 kB / 1.261 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3224, allocations: 12 kB / 1.261 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3224, allocations: 4 kB / 1.261 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3224, allocations: 0 / 1.261 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4517/0.7741, allocations: 0.6693 MB / 1.262 GB, free: 50.45 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.7743, allocations: 175 kB / 1.262 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.7744, allocations: 10.27 kB / 1.262 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.7747, allocations: 10.58 kB / 1.262 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.7748, allocations: 27.33 kB / 1.262 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.7748, allocations: 15.23 kB / 1.262 GB, free: 50.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003466/0.7751, allocations: 348 kB / 1.262 GB, free: 50.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7751, allocations: 0.5625 kB / 1.262 GB, free: 50.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005454/0.7757, allocations: 197.5 kB / 1.262 GB, free: 50.27 MB / 0.9981 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.001159/0.7768, allocations: 1.395 MB / 1.264 GB, free: 49.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.7772, allocations: 281.4 kB / 1.264 GB, free: 49.56 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7772, allocations: 0 / 1.264 GB, free: 49.56 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.7774, allocations: 157 kB / 1.264 GB, free: 49.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.7787, allocations: 344.5 kB / 1.265 GB, free: 49.55 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.7824, allocations: 4.222 MB / 1.269 GB, free: 47.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.7826, allocations: 0.8677 MB / 1.27 GB, free: 47.12 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003074/0.7829, allocations: 120.6 kB / 1.27 GB, free: 47.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.7831, allocations: 191.4 kB / 1.27 GB, free: 47.09 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/0.7831, allocations: 4 kB / 1.27 GB, free: 47.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04503/0.8282, allocations: 17.1 MB / 1.287 GB, free: 45.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.866, allocations: 3.125 kB / 1.287 GB, free: 45.56 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable senHeaFlo.Q_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! Error: Could not read variable heaFloRat.Q_flow in file Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv. Warning: Get data of variable heaFloRat.Q_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.10507122999843]