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.0007765/0.0007765, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008358/0.0008358, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8615/0.8615, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 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 1.71/1.71, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.161e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01554/0.01556, allocations: 21.46 MB / 1.021 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005799/0.02136, allocations: 4.744 MB / 1.025 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.02201, allocations: 35.69 kB / 1.025 GB, free: 3.133 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006699/0.02268, allocations: 285.9 kB / 1.026 GB, free: 2.852 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.02428, allocations: 0.8506 MB / 1.026 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.02556, allocations: 0.8128 MB / 1.027 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.02681, allocations: 1.62 MB / 1.029 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003967/0.02721, allocations: 381.4 kB / 1.029 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.02871, allocations: 0.923 MB / 1.03 GB, free: 14.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003547/0.02906, allocations: 390.8 kB / 1.03 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.02911, allocations: 48 kB / 1.03 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.02975, allocations: 418.9 kB / 1.031 GB, free: 13.43 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.02985, allocations: 151.4 kB / 1.031 GB, free: 13.28 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.03, allocations: 219.5 kB / 1.031 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.03085, allocations: 0.9503 MB / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.03085, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.443e-06/0.03086, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.03086, allocations: 0 / 1.032 GB, free: 12.11 MB / 0.9948 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.0008936/0.03176, allocations: 0.8181 MB / 1.033 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.0318, allocations: 8.75 kB / 1.033 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.303e-05/0.03186, allocations: 86.64 kB / 1.033 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.032, allocations: 68.56 kB / 1.033 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.03269, allocations: 0.5029 MB / 1.034 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.03271, allocations: 33.31 kB / 1.034 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.03276, allocations: 40.12 kB / 1.034 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004764/0.03324, allocations: 0.5057 MB / 1.034 GB, free: 9.945 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.03325, allocations: 3.984 kB / 1.034 GB, free: 9.941 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.03328, allocations: 20 kB / 1.034 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.0333, allocations: 8 kB / 1.034 GB, free: 9.914 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.03363, allocations: 307.7 kB / 1.034 GB, free: 9.613 MB / 0.9948 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.001555/0.03518, allocations: 1.517 MB / 1.036 GB, free: 8.035 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.03554, allocations: 246.8 kB / 1.036 GB, free: 7.785 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.03566, allocations: 116.7 kB / 1.036 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002417/0.0359, allocations: 103.8 kB / 1.036 GB, free: 7.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.03594, allocations: 42.56 kB / 1.036 GB, free: 7.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.03595, allocations: 0 / 1.036 GB, free: 7.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26): time 0.0004642/0.03641, allocations: 369.2 kB / 1.037 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.03647, allocations: 55.41 kB / 1.037 GB, free: 7.086 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.03682, allocations: 477.9 kB / 1.037 GB, free: 6.605 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.03684, allocations: 33.64 kB / 1.037 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.03697, allocations: 260.4 kB / 1.038 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.03702, allocations: 91.19 kB / 1.038 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.03716, allocations: 73.97 kB / 1.038 GB, free: 6.141 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.03725, allocations: 354.8 kB / 1.038 GB, free: 5.785 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.03736, allocations: 104.6 kB / 1.038 GB, free: 5.684 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.03753, allocations: 249.2 kB / 1.038 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.03778, allocations: 274.7 kB / 1.039 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.03779, allocations: 4 kB / 1.039 GB, free: 5.102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003617/0.03815, allocations: 362.4 kB / 1.039 GB, free: 4.742 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.03816, allocations: 8 kB / 1.039 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.03817, allocations: 0 / 1.039 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.03818, allocations: 4 kB / 1.039 GB, free: 4.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.03834, allocations: 79.83 kB / 1.039 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.03835, allocations: 4 kB / 1.039 GB, free: 4.648 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.03848, allocations: 39.61 kB / 1.039 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.0385, allocations: 28.14 kB / 1.039 GB, free: 4.582 MB / 0.9948 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.0001328/0.03864, allocations: 181.8 kB / 1.039 GB, free: 4.395 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.03869, allocations: 47.72 kB / 1.039 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006649/0.03935, allocations: 477.3 kB / 1.04 GB, free: 3.879 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.03937, allocations: 7.984 kB / 1.04 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.03937, allocations: 0 / 1.04 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003643/0.03973, allocations: 0.5844 MB / 1.04 GB, free: 3.219 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.04075, allocations: 1.01 MB / 1.041 GB, free: 2.141 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.04076, allocations: 7.938 kB / 1.041 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.04088, allocations: 47.97 kB / 1.041 GB, free: 2.086 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.04088, allocations: 7.938 kB / 1.041 GB, free: 2.078 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.0409, allocations: 16.19 kB / 1.042 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.0409, allocations: 0 / 1.042 GB, free: 2.062 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.04091, allocations: 4 kB / 1.042 GB, free: 2.059 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.04147, allocations: 0.6776 MB / 1.042 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.04158, allocations: 95.53 kB / 1.042 GB, free: 1.254 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.04162, allocations: 8 kB / 1.042 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.04175, allocations: 15.94 kB / 1.042 GB, free: 1.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.04179, allocations: 24.11 kB / 1.042 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.04181, allocations: 19.97 kB / 1.042 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002465/0.04206, allocations: 342.9 kB / 1.043 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.04206, allocations: 4 kB / 1.043 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004487/0.0425, allocations: 203.5 kB / 1.043 GB, free: 0.6523 MB / 0.9948 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.001325/0.04383, allocations: 1.397 MB / 1.044 GB, free: 15.21 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.04416, allocations: 284 kB / 1.044 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.04417, allocations: 4 kB / 1.044 GB, free: 14.93 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.04431, allocations: 148.9 kB / 1.045 GB, free: 14.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.04512, allocations: 321 kB / 1.045 GB, free: 14.48 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.04862, allocations: 4.153 MB / 1.049 GB, free: 10.15 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.04879, allocations: 270.4 kB / 1.049 GB, free: 9.863 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002975/0.04908, allocations: 120.6 kB / 1.049 GB, free: 9.742 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.04926, allocations: 188.4 kB / 1.05 GB, free: 9.559 MB / 1.01 GB Notification: Performance of SimCode: time 1.011e-06/0.04926, allocations: 4 kB / 1.05 GB, free: 9.555 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4197/0.4689, allocations: 18.65 MB / 1.068 GB, free: 94.84 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.645/7.114, allocations: 2.234 kB / 1.068 GB, free: 94.84 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 11.127542827278376]