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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001029/0.001029, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008256/0.008256, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.389/1.389, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 462.6 MB / 0.7364 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 18.33 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2981, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.173/0.4711, allocations: 163.2 MB / 1.218 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006952/0.4781, allocations: 6.454 MB / 1.224 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004431/0.4786, allocations: 15.94 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004453/0.4791, allocations: 123.1 kB / 1.225 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.4809, allocations: 0.786 MB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007529/0.4816, allocations: 319.8 kB / 1.226 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.4825, allocations: 1.006 MB / 1.227 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.4828, allocations: 230.1 kB / 1.227 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008911/0.4837, allocations: 0.502 MB / 1.227 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.4841, allocations: 274.9 kB / 1.228 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.4841, allocations: 16 kB / 1.228 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005467/0.4847, allocations: 391 kB / 1.228 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.4848, allocations: 107.6 kB / 1.228 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.4849, allocations: 172.9 kB / 1.228 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004817/0.4854, allocations: 474.4 kB / 1.229 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4854, allocations: 0 / 1.229 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.552e-06/0.4854, allocations: 0 / 1.229 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.4855, allocations: 0 / 1.229 GB, free: 6.293 MB / 0.9825 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.0007184/0.4862, allocations: 0.5649 MB / 1.229 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4862, allocations: 11.97 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.497e-05/0.4863, allocations: 62.53 kB / 1.229 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.4866, allocations: 67.44 kB / 1.229 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4869, allocations: 301.3 kB / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.4869, allocations: 24.5 kB / 1.23 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.487, allocations: 28 kB / 1.23 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.4875, allocations: 319.7 kB / 1.23 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4875, allocations: 7.938 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.4875, allocations: 8 kB / 1.23 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4876, allocations: 8 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004041/0.488, allocations: 213.5 kB / 1.23 GB, free: 4.578 MB / 0.9825 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.001314/0.4893, allocations: 1.55 MB / 1.232 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.4895, allocations: 122.5 kB / 1.232 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.4897, allocations: 100.8 kB / 1.232 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000557/0.4903, allocations: 315.2 kB / 1.232 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.4903, allocations: 30.56 kB / 1.232 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.4903, allocations: 3.938 kB / 1.232 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007039/0.491, allocations: 281.3 kB / 1.233 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.4911, allocations: 55.41 kB / 1.233 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4914, allocations: 312.5 kB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4914, allocations: 29.7 kB / 1.233 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.4915, allocations: 180.1 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4916, allocations: 51.3 kB / 1.233 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.4916, allocations: 21.7 kB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4917, allocations: 342.8 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4919, allocations: 67.95 kB / 1.234 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.4921, allocations: 118.8 kB / 1.234 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.4924, allocations: 181 kB / 1.234 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4924, allocations: 4 kB / 1.234 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003994/0.4928, allocations: 225.2 kB / 1.234 GB, free: 336 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4928, allocations: 4 kB / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4928, allocations: 208 / 1.234 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4929, allocations: 11.98 kB / 1.234 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.493, allocations: 39.92 kB / 1.234 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.493, allocations: 4 kB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.4932, allocations: 31.73 kB / 1.234 GB, free: 244 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.4933, allocations: 11.98 kB / 1.234 GB, free: 232 kB / 0.9825 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.0001279/0.4934, allocations: 157.7 kB / 1.234 GB, free: 64 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.636e-05/0.4934, allocations: 27.62 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.4939, allocations: 216.5 kB / 1.235 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4939, allocations: 11.92 kB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4939, allocations: 4 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4939, allocations: 0 / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.4949, allocations: 0.6875 MB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4949, allocations: 0 / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.495, allocations: 31.92 kB / 1.235 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.495, allocations: 4 kB / 1.235 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.4951, allocations: 20.09 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4951, allocations: 0 / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4951, allocations: 4 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.4955, allocations: 345.9 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.4957, allocations: 120.8 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.4957, allocations: 11.92 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.4959, allocations: 27.89 kB / 1.236 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.4959, allocations: 15.92 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.496, allocations: 4 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002192/0.4962, allocations: 223.1 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4962, allocations: 4 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003625/0.4966, allocations: 71.83 kB / 1.236 GB, free: 14.12 MB / 0.9981 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.001044/0.4976, allocations: 0.9267 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004043/0.498, allocations: 171.8 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.498, allocations: 0 / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.4982, allocations: 80.64 kB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.4991, allocations: 148.9 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.5026, allocations: 2.95 MB / 1.24 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.503, allocations: 0.7758 MB / 1.241 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001928/0.5032, allocations: 54.94 kB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5034, allocations: 91.41 kB / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.5034, allocations: 0 / 1.241 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.72/1.223, allocations: 7.568 MB / 1.249 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002987/1.224, allocations: 251.2 kB / 1.249 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/3.144, allocations: 0 / 1.249 GB, free: 1.094 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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