Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007695/0.007695, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 193.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.857/2.857, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.83 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3045, allocations: 162.2 MB / 1.241 GB, free: 9.266 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1915/0.496, allocations: 167.6 MB / 1.405 GB, free: 1.055 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008122/0.5042, allocations: 6.534 MB / 1.411 GB, free: 10.5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004178/0.5046, allocations: 15.88 kB / 1.411 GB, free: 10.48 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.5052, allocations: 178.7 kB / 1.412 GB, free: 10.31 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.5073, allocations: 0.8284 MB / 1.412 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.5082, allocations: 329.7 kB / 1.413 GB, free: 9.156 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0009059/0.5091, allocations: 0.7133 MB / 1.413 GB, free: 8.441 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.5096, allocations: 274.8 kB / 1.414 GB, free: 8.172 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5111, allocations: 0.6966 MB / 1.414 GB, free: 7.473 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.5115, allocations: 263 kB / 1.415 GB, free: 7.215 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.5116, allocations: 24 kB / 1.415 GB, free: 7.191 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.5122, allocations: 331.2 kB / 1.415 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.5124, allocations: 107.7 kB / 1.415 GB, free: 6.762 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.5126, allocations: 163.2 kB / 1.415 GB, free: 6.602 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.5133, allocations: 466.2 kB / 1.416 GB, free: 6.145 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.5133, allocations: 4 kB / 1.416 GB, free: 6.141 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5133, allocations: 0 / 1.416 GB, free: 6.141 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.5133, allocations: 7.938 kB / 1.416 GB, free: 6.133 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008655/0.5142, allocations: 0.6284 MB / 1.416 GB, free: 5.457 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5142, allocations: 12.03 kB / 1.416 GB, free: 5.445 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.514e-05/0.5143, allocations: 58.55 kB / 1.416 GB, free: 5.379 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.5146, allocations: 71.66 kB / 1.416 GB, free: 5.309 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.5151, allocations: 329.4 kB / 1.417 GB, free: 4.949 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.5151, allocations: 20.56 kB / 1.417 GB, free: 4.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.5152, allocations: 24 kB / 1.417 GB, free: 4.906 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.5157, allocations: 319.7 kB / 1.417 GB, free: 4.566 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5157, allocations: 0 / 1.417 GB, free: 4.566 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.5158, allocations: 12 kB / 1.417 GB, free: 4.555 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5158, allocations: 4 kB / 1.417 GB, free: 4.551 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.5162, allocations: 205.5 kB / 1.417 GB, free: 4.352 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.5178, allocations: 1.535 MB / 1.419 GB, free: 2.684 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.5181, allocations: 114.5 kB / 1.419 GB, free: 2.562 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.5183, allocations: 96.73 kB / 1.419 GB, free: 2.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.5189, allocations: 307.2 kB / 1.419 GB, free: 2.109 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.519, allocations: 34.56 kB / 1.419 GB, free: 2.066 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.519, allocations: 0 / 1.419 GB, free: 2.066 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0007809/0.5198, allocations: 285.4 kB / 1.42 GB, free: 1.785 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5198, allocations: 51.41 kB / 1.42 GB, free: 1.723 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.5202, allocations: 304.6 kB / 1.42 GB, free: 1.418 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.5202, allocations: 29.7 kB / 1.42 GB, free: 1.383 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.5203, allocations: 188.2 kB / 1.42 GB, free: 1.191 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.5204, allocations: 47.62 kB / 1.42 GB, free: 1.145 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.242e-05/0.5205, allocations: 41.61 kB / 1.42 GB, free: 1.098 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5206, allocations: 342.8 kB / 1.421 GB, free: 0.7539 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5208, allocations: 63.89 kB / 1.421 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.521, allocations: 110.7 kB / 1.421 GB, free: 0.5664 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.5214, allocations: 180.9 kB / 1.421 GB, free: 380 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5214, allocations: 0 / 1.421 GB, free: 380 kB / 1.139 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004429/0.5218, allocations: 213.3 kB / 1.421 GB, free: 160 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5218, allocations: 8 kB / 1.421 GB, free: 152 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.5219, allocations: 3.938 kB / 1.421 GB, free: 148 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5219, allocations: 0 / 1.421 GB, free: 148 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.5221, allocations: 39.91 kB / 1.421 GB, free: 108 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5221, allocations: 4 kB / 1.421 GB, free: 104 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.5223, allocations: 31.77 kB / 1.421 GB, free: 72 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.5223, allocations: 12.16 kB / 1.421 GB, free: 60 kB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001659/0.5225, allocations: 153.7 kB / 1.421 GB, free: 15.9 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.5226, allocations: 27.81 kB / 1.421 GB, free: 15.87 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004731/0.523, allocations: 212.3 kB / 1.422 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.523, allocations: 4 kB / 1.422 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.5231, allocations: 0 / 1.422 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5231, allocations: 0 / 1.422 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.5241, allocations: 0.6798 MB / 1.422 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5241, allocations: 4 kB / 1.422 GB, free: 14.89 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.5243, allocations: 31.92 kB / 1.422 GB, free: 14.86 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.5243, allocations: 4 kB / 1.422 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5243, allocations: 8 kB / 1.422 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.5243, allocations: 4 kB / 1.422 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5244, allocations: 7.984 kB / 1.422 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.5248, allocations: 337.2 kB / 1.423 GB, free: 14.46 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.525, allocations: 120.9 kB / 1.423 GB, free: 14.33 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.525, allocations: 15.94 kB / 1.423 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.5252, allocations: 4 kB / 1.423 GB, free: 14.31 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.5252, allocations: 15.92 kB / 1.423 GB, free: 14.29 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5253, allocations: 8 kB / 1.423 GB, free: 14.29 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000236/0.5255, allocations: 223 kB / 1.423 GB, free: 14.07 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5255, allocations: 0 / 1.423 GB, free: 14.07 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000384/0.5259, allocations: 75.83 kB / 1.423 GB, free: 14 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.001105/0.527, allocations: 0.9228 MB / 1.424 GB, free: 13.03 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.5275, allocations: 163.7 kB / 1.424 GB, free: 12.87 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5275, allocations: 0 / 1.424 GB, free: 12.87 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5277, allocations: 80.52 kB / 1.424 GB, free: 12.79 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.5285, allocations: 151.1 kB / 1.424 GB, free: 12.65 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.5322, allocations: 2.81 MB / 1.427 GB, free: 9.688 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.5327, allocations: 0.7871 MB / 1.428 GB, free: 8.871 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002187/0.5329, allocations: 66.92 kB / 1.428 GB, free: 8.805 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.5331, allocations: 95.41 kB / 1.428 GB, free: 8.711 MB / 1.154 GB Notification: Performance of SimCode: time 3.41e-07/0.5331, allocations: 0 / 1.428 GB, free: 8.711 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03149/0.5646, allocations: 8.123 MB / 1.436 GB, free: 0.7734 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.744, allocations: 11.56 kB / 1.436 GB, free: 0.7656 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches