Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001273/0.001273, allocations: 101.7 kB / 16.45 MB, free: 6.449 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.001413/0.001413, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.389/1.389, allocations: 230.6 MB / 252.8 MB, free: 9.145 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.998/2.998, allocations: 0.49 GB / 0.7916 GB, free: 33.35 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.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",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.002148/0.002148, allocations: 77.86 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 176.1 MB / 1.321 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2001/0.5252, allocations: 171 MB / 1.488 GB, free: 7.684 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00937/0.5346, allocations: 6.592 MB / 1.494 GB, free: 1.07 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.5351, allocations: 23.75 kB / 1.494 GB, free: 1.047 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006431/0.5358, allocations: 170.7 kB / 1.494 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.5381, allocations: 0.8713 MB / 1.495 GB, free: 4 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5392, allocations: 331.2 kB / 1.496 GB, free: 15.68 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.5402, allocations: 0.7095 MB / 1.496 GB, free: 14.97 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.5407, allocations: 234.8 kB / 1.497 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.5424, allocations: 0.7161 MB / 1.497 GB, free: 14.02 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000509/0.5429, allocations: 282.9 kB / 1.497 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.722e-05/0.5429, allocations: 24 kB / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006712/0.5436, allocations: 351.2 kB / 1.498 GB, free: 13.38 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.5437, allocations: 111.6 kB / 1.498 GB, free: 13.27 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.544, allocations: 159.2 kB / 1.498 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.5447, allocations: 474.2 kB / 1.499 GB, free: 12.65 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5447, allocations: 3.938 kB / 1.499 GB, free: 12.64 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5447, allocations: 0 / 1.499 GB, free: 12.64 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5448, allocations: 0 / 1.499 GB, free: 12.64 MB / 1.201 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.001019/0.5458, allocations: 0.6268 MB / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.5458, allocations: 15.98 kB / 1.499 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.5459, allocations: 58.55 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.5463, allocations: 63.67 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.5468, allocations: 329.4 kB / 1.5 GB, free: 11.46 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.5468, allocations: 20.56 kB / 1.5 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.5469, allocations: 27.94 kB / 1.5 GB, free: 11.41 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.5475, allocations: 323.7 kB / 1.5 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5475, allocations: 0 / 1.5 GB, free: 11.07 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.5475, allocations: 12 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.5475, allocations: 4 kB / 1.5 GB, free: 11.05 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.548, allocations: 209.4 kB / 1.5 GB, free: 10.85 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.5498, allocations: 1.539 MB / 1.502 GB, free: 9.172 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.5501, allocations: 110.5 kB / 1.502 GB, free: 9.055 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.5503, allocations: 84.8 kB / 1.502 GB, free: 8.969 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/0.5509, allocations: 307.2 kB / 1.502 GB, free: 8.613 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.5509, allocations: 34.56 kB / 1.502 GB, free: 8.57 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.5509, allocations: 0 / 1.502 GB, free: 8.57 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008211/0.5518, allocations: 268.6 kB / 1.502 GB, free: 8.305 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.5518, allocations: 55.39 kB / 1.503 GB, free: 8.238 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.5522, allocations: 312.5 kB / 1.503 GB, free: 7.93 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.5523, allocations: 29.7 kB / 1.503 GB, free: 7.895 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.5525, allocations: 188.2 kB / 1.503 GB, free: 7.707 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.645e-05/0.5525, allocations: 47.64 kB / 1.503 GB, free: 7.66 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.5526, allocations: 33.7 kB / 1.503 GB, free: 7.621 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5528, allocations: 342.8 kB / 1.503 GB, free: 7.277 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.553, allocations: 59.95 kB / 1.503 GB, free: 7.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.5532, allocations: 109.1 kB / 1.504 GB, free: 7.094 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.5536, allocations: 184.9 kB / 1.504 GB, free: 6.895 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5536, allocations: 0 / 1.504 GB, free: 6.895 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004818/0.5541, allocations: 221.3 kB / 1.504 GB, free: 6.672 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5541, allocations: 9.719 kB / 1.504 GB, free: 6.664 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5541, allocations: 0 / 1.504 GB, free: 6.664 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5541, allocations: 4 kB / 1.504 GB, free: 6.66 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.5543, allocations: 35.91 kB / 1.504 GB, free: 6.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5543, allocations: 4 kB / 1.504 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.5545, allocations: 31.77 kB / 1.504 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.5545, allocations: 8 kB / 1.504 GB, free: 6.582 MB / 1.201 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.000167/0.5547, allocations: 156 kB / 1.504 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.254e-05/0.5548, allocations: 31.81 kB / 1.504 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004889/0.5552, allocations: 204.6 kB / 1.504 GB, free: 6.18 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5552, allocations: 4 kB / 1.504 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5552, allocations: 0 / 1.504 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5552, allocations: 0 / 1.504 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.5564, allocations: 0.6873 MB / 1.505 GB, free: 5.41 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5564, allocations: 4 kB / 1.505 GB, free: 5.406 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.5566, allocations: 24.2 kB / 1.505 GB, free: 5.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.5566, allocations: 8 kB / 1.505 GB, free: 5.375 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5566, allocations: 11.94 kB / 1.505 GB, free: 5.363 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.5566, allocations: 0 / 1.505 GB, free: 5.363 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5566, allocations: 11.88 kB / 1.505 GB, free: 5.352 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004991/0.5571, allocations: 341.3 kB / 1.505 GB, free: 4.98 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5572, allocations: 112.9 kB / 1.506 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.5573, allocations: 15.92 kB / 1.506 GB, free: 4.836 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.5575, allocations: 4 kB / 1.506 GB, free: 4.832 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.907e-05/0.5575, allocations: 23.92 kB / 1.506 GB, free: 4.809 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.5575, allocations: 4 kB / 1.506 GB, free: 4.805 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002583/0.5578, allocations: 227 kB / 1.506 GB, free: 4.586 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5578, allocations: 0 / 1.506 GB, free: 4.586 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003917/0.5582, allocations: 71.83 kB / 1.506 GB, free: 4.516 MB / 1.201 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.001045/0.5592, allocations: 0.8976 MB / 1.507 GB, free: 3.566 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.5597, allocations: 167.1 kB / 1.507 GB, free: 3.406 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5597, allocations: 3.938 kB / 1.507 GB, free: 3.402 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.5598, allocations: 79.83 kB / 1.507 GB, free: 3.324 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.5607, allocations: 146.5 kB / 1.507 GB, free: 3.188 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004047/0.5648, allocations: 2.812 MB / 1.51 GB, free: 228 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.5653, allocations: 0.7872 MB / 1.511 GB, free: 15.41 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.5655, allocations: 62.92 kB / 1.511 GB, free: 15.34 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.5657, allocations: 91.41 kB / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of SimCode: time 7.52e-07/0.5657, allocations: 0 / 1.511 GB, free: 15.25 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03428/0.6, allocations: 8.124 MB / 1.519 GB, free: 7.305 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.653, allocations: 3.891 kB / 1.519 GB, free: 7.305 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senMasFlo.m_flow in file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv. Warning: Get data of variable senMasFlo.m_flow from file Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.93202769313939]