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.00145/0.00145, allocations: 107.8 kB / 16.45 MB, free: 6.488 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.001609/0.001609, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.965 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 3.033/3.033, allocations: 0.49 GB / 0.7916 GB, free: 33.13 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.002397/0.002397, allocations: 76.73 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3245, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2007/0.5252, allocations: 171 MB / 1.488 GB, free: 7.617 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0097/0.5349, allocations: 6.595 MB / 1.494 GB, free: 1.004 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000499/0.5354, allocations: 19.88 kB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.536, allocations: 162.7 kB / 1.494 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.5383, allocations: 0.8713 MB / 1.495 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.5393, allocations: 334.5 kB / 1.496 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.5403, allocations: 0.7095 MB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.5408, allocations: 234.8 kB / 1.497 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001799/0.5426, allocations: 0.7239 MB / 1.497 GB, free: 13.96 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.5431, allocations: 279 kB / 1.497 GB, free: 13.68 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.5432, allocations: 24 kB / 1.498 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.5439, allocations: 351.2 kB / 1.498 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.5441, allocations: 111.6 kB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.5443, allocations: 171 kB / 1.498 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0009648/0.5453, allocations: 470.2 kB / 1.499 GB, free: 12.58 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5453, allocations: 0 / 1.499 GB, free: 12.58 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5453, allocations: 0 / 1.499 GB, free: 12.58 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5453, allocations: 0 / 1.499 GB, free: 12.58 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.001029/0.5463, allocations: 0.6307 MB / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.5464, allocations: 11.98 kB / 1.499 GB, free: 11.89 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.848e-05/0.5465, allocations: 62.53 kB / 1.499 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003438/0.5468, allocations: 67.67 kB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.5474, allocations: 321.4 kB / 1.5 GB, free: 11.39 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.5474, allocations: 16.56 kB / 1.5 GB, free: 11.38 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.5474, allocations: 28 kB / 1.5 GB, free: 11.35 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006219/0.5481, allocations: 319.7 kB / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.5481, allocations: 0 / 1.5 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.73e-05/0.5481, allocations: 12 kB / 1.5 GB, free: 11 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5481, allocations: 8 kB / 1.5 GB, free: 10.99 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.5485, allocations: 205.4 kB / 1.5 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.5504, allocations: 1.55 MB / 1.502 GB, free: 9.102 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.5506, allocations: 106.5 kB / 1.502 GB, free: 8.988 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.5508, allocations: 80.81 kB / 1.502 GB, free: 8.906 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006488/0.5515, allocations: 307.2 kB / 1.502 GB, free: 8.551 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.5515, allocations: 34.56 kB / 1.502 GB, free: 8.508 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.5515, allocations: 0 / 1.502 GB, free: 8.508 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0008628/0.5524, allocations: 274.3 kB / 1.502 GB, free: 8.234 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.5524, allocations: 55.41 kB / 1.503 GB, free: 8.168 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.5528, allocations: 312.5 kB / 1.503 GB, free: 7.855 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.5528, allocations: 29.7 kB / 1.503 GB, free: 7.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.553, allocations: 180.3 kB / 1.503 GB, free: 7.641 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.553, allocations: 43.64 kB / 1.503 GB, free: 7.598 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.423e-05/0.5531, allocations: 37.7 kB / 1.503 GB, free: 7.555 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5532, allocations: 342.8 kB / 1.503 GB, free: 7.211 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.5534, allocations: 55.95 kB / 1.503 GB, free: 7.156 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.5536, allocations: 113.1 kB / 1.504 GB, free: 7.027 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.554, allocations: 180.8 kB / 1.504 GB, free: 6.832 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.554, allocations: 0 / 1.504 GB, free: 6.832 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005144/0.5545, allocations: 217.3 kB / 1.504 GB, free: 6.613 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/0.5546, allocations: 9.703 kB / 1.504 GB, free: 6.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5546, allocations: 0 / 1.504 GB, free: 6.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5546, allocations: 4 kB / 1.504 GB, free: 6.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/0.5548, allocations: 39.98 kB / 1.504 GB, free: 6.562 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5548, allocations: 0 / 1.504 GB, free: 6.562 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.555, allocations: 35.7 kB / 1.504 GB, free: 6.527 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.555, allocations: 8.156 kB / 1.504 GB, free: 6.52 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.0001906/0.5552, allocations: 157.7 kB / 1.504 GB, free: 6.355 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.5553, allocations: 27.81 kB / 1.504 GB, free: 6.328 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005409/0.5558, allocations: 209.1 kB / 1.504 GB, free: 6.113 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5558, allocations: 3.938 kB / 1.504 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5558, allocations: 3.938 kB / 1.504 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5558, allocations: 0 / 1.504 GB, free: 6.105 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.5571, allocations: 0.6874 MB / 1.505 GB, free: 5.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.5571, allocations: 4.219 kB / 1.505 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5572, allocations: 27.98 kB / 1.505 GB, free: 5.309 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/0.5572, allocations: 3.984 kB / 1.505 GB, free: 5.305 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.5572, allocations: 7.938 kB / 1.505 GB, free: 5.297 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.5572, allocations: 7.938 kB / 1.505 GB, free: 5.289 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5572, allocations: 0 / 1.505 GB, free: 5.289 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000539/0.5578, allocations: 338.8 kB / 1.505 GB, free: 4.922 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5579, allocations: 120.9 kB / 1.506 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.558, allocations: 7.938 kB / 1.506 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5582, allocations: 15.98 kB / 1.506 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.5582, allocations: 8 kB / 1.506 GB, free: 4.754 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.5582, allocations: 7.984 kB / 1.506 GB, free: 4.746 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002834/0.5585, allocations: 223.1 kB / 1.506 GB, free: 4.531 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5585, allocations: 0 / 1.506 GB, free: 4.531 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004495/0.559, allocations: 75.83 kB / 1.506 GB, free: 4.457 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.00113/0.5601, allocations: 0.9132 MB / 1.507 GB, free: 3.492 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.5606, allocations: 165.4 kB / 1.507 GB, free: 3.332 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.5606, allocations: 4 kB / 1.507 GB, free: 3.328 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.5608, allocations: 71.89 kB / 1.507 GB, free: 3.258 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.5617, allocations: 156.9 kB / 1.507 GB, free: 3.109 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/0.566, allocations: 2.807 MB / 1.51 GB, free: 156 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.5665, allocations: 0.7795 MB / 1.511 GB, free: 15.35 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.5668, allocations: 58.92 kB / 1.511 GB, free: 15.29 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.5669, allocations: 91.41 kB / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of SimCode: time 1.202e-06/0.5669, allocations: 0 / 1.511 GB, free: 15.2 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.603, allocations: 8.132 MB / 1.519 GB, free: 7.242 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.67, allocations: 6.109 kB / 1.519 GB, free: 7.238 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.849135312950239]