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.001447/0.001447, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001622/0.001622, allocations: 216.4 kB / 22.25 MB, free: 5.113 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.322/1.322, allocations: 230.6 MB / 256 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 179] 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.907/2.907, allocations: 0.49 GB / 0.7951 GB, free: 33.28 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.001875/0.001875, allocations: 64.75 kB / 1.154 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2809, allocations: 176.1 MB / 1.326 GB, free: 1.914 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1897/0.4705, allocations: 171.2 MB / 1.493 GB, free: 6.066 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.008598/0.4791, allocations: 6.635 MB / 1.5 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.4796, allocations: 15.88 kB / 1.5 GB, free: 15.39 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.4802, allocations: 182.7 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.4824, allocations: 0.8752 MB / 1.501 GB, free: 14.34 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.4834, allocations: 355.7 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.4844, allocations: 0.7329 MB / 1.502 GB, free: 13.26 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.4849, allocations: 223.2 kB / 1.502 GB, free: 13.04 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.4864, allocations: 0.7201 MB / 1.503 GB, free: 12.31 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.4869, allocations: 278.9 kB / 1.503 GB, free: 12.04 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.487, allocations: 24 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006786/0.4876, allocations: 363.2 kB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4878, allocations: 107.6 kB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.488, allocations: 159.2 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.4887, allocations: 482.2 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4887, allocations: 0 / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4887, allocations: 0 / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4887, allocations: 0 / 1.504 GB, free: 10.93 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.0009126/0.4897, allocations: 0.5554 MB / 1.504 GB, free: 10.34 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4897, allocations: 12.03 kB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.881e-05/0.4898, allocations: 58.55 kB / 1.505 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.4901, allocations: 67.67 kB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.4906, allocations: 255.7 kB / 1.505 GB, free: 9.918 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.4906, allocations: 20.66 kB / 1.505 GB, free: 9.898 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.4907, allocations: 28 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.4912, allocations: 316.9 kB / 1.505 GB, free: 9.535 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4912, allocations: 3.938 kB / 1.505 GB, free: 9.531 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.4912, allocations: 16 kB / 1.505 GB, free: 9.516 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4912, allocations: 11.94 kB / 1.505 GB, free: 9.504 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.4916, allocations: 201.5 kB / 1.505 GB, free: 9.309 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.4933, allocations: 1.504 MB / 1.507 GB, free: 7.672 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.4935, allocations: 110.5 kB / 1.507 GB, free: 7.555 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.4937, allocations: 88.81 kB / 1.507 GB, free: 7.465 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/0.4941, allocations: 75.91 kB / 1.507 GB, free: 7.391 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.4942, allocations: 30.56 kB / 1.507 GB, free: 7.352 MB / 1.201 GB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.4942, allocations: 0 / 1.507 GB, free: 7.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=13): time 0.0007307/0.4949, allocations: 273.5 kB / 1.507 GB, free: 7.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.495, allocations: 55.41 kB / 1.508 GB, free: 7.012 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.4953, allocations: 312.5 kB / 1.508 GB, free: 6.699 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.279e-05/0.4953, allocations: 29.7 kB / 1.508 GB, free: 6.664 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.4954, allocations: 184.2 kB / 1.508 GB, free: 6.48 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.4955, allocations: 51.56 kB / 1.508 GB, free: 6.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.4955, allocations: 33.72 kB / 1.508 GB, free: 6.391 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.4957, allocations: 338.8 kB / 1.508 GB, free: 6.051 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4958, allocations: 63.86 kB / 1.508 GB, free: 5.988 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.496, allocations: 115.4 kB / 1.509 GB, free: 5.859 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.4964, allocations: 176.9 kB / 1.509 GB, free: 5.668 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4964, allocations: 0 / 1.509 GB, free: 5.668 MB / 1.201 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004075/0.4968, allocations: 221.2 kB / 1.509 GB, free: 5.445 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4968, allocations: 4 kB / 1.509 GB, free: 5.441 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4968, allocations: 8.156 kB / 1.509 GB, free: 5.434 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4968, allocations: 3.984 kB / 1.509 GB, free: 5.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.497, allocations: 31.98 kB / 1.509 GB, free: 5.398 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.497, allocations: 3.938 kB / 1.509 GB, free: 5.395 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4971, allocations: 31.83 kB / 1.509 GB, free: 5.363 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.4972, allocations: 4 kB / 1.509 GB, free: 5.359 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.0001561/0.4973, allocations: 153.8 kB / 1.509 GB, free: 5.199 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.4974, allocations: 27.81 kB / 1.509 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.4978, allocations: 216.1 kB / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4978, allocations: 3.938 kB / 1.509 GB, free: 4.949 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4978, allocations: 4 kB / 1.509 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4978, allocations: 0 / 1.509 GB, free: 4.945 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.4989, allocations: 0.6514 MB / 1.51 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.4989, allocations: 4 kB / 1.51 GB, free: 4.219 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.499, allocations: 27.92 kB / 1.51 GB, free: 4.191 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.499, allocations: 4.062 kB / 1.51 GB, free: 4.188 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.499, allocations: 16.16 kB / 1.51 GB, free: 4.172 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.499, allocations: 4 kB / 1.51 GB, free: 4.168 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.499, allocations: 4 kB / 1.51 GB, free: 4.164 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.4995, allocations: 333.3 kB / 1.51 GB, free: 3.801 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.4996, allocations: 51.72 kB / 1.51 GB, free: 3.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.4996, allocations: 15.92 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4998, allocations: 7.984 kB / 1.511 GB, free: 3.727 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.416e-05/0.4998, allocations: 19.98 kB / 1.511 GB, free: 3.707 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4999, allocations: 4 kB / 1.511 GB, free: 3.703 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002338/0.5001, allocations: 227 kB / 1.511 GB, free: 3.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.5001, allocations: 0 / 1.511 GB, free: 3.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003756/0.5005, allocations: 71.89 kB / 1.511 GB, free: 3.41 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.0009281/0.5014, allocations: 0.9033 MB / 1.512 GB, free: 2.457 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003888/0.5018, allocations: 155.8 kB / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5018, allocations: 320 / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.502, allocations: 79.89 kB / 1.512 GB, free: 2.227 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007556/0.5027, allocations: 151.8 kB / 1.512 GB, free: 2.082 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5063, allocations: 2.809 MB / 1.515 GB, free: 15.12 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.5068, allocations: 0.7795 MB / 1.516 GB, free: 14.31 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.507, allocations: 66.92 kB / 1.516 GB, free: 14.25 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5071, allocations: 91.41 kB / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of SimCode: time 3.9e-07/0.5071, allocations: 0 / 1.516 GB, free: 14.16 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.5442, allocations: 8.316 MB / 1.524 GB, free: 6.066 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.94, allocations: 10.03 kB / 1.524 GB, free: 6.059 MB / 1.217 GB " [Timeout remaining time 289] (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: 16.877656714990735]