Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false)
Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_9_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.006977/0.006977, allocations: 102 kB / 15.73 MB, free: 6.055 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.001671/0.001671, allocations: 194.3 kB / 16.67 MB, free: 5.965 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.27/1.27, 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 9.1.3-maint.9.1.x/package.mo): time 2.039/2.039, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB
Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 67.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6374, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1684/0.8058, allocations: 167.5 MB / 1.251 GB, free: 6.309 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.006338/0.8122, allocations: 6.546 MB / 1.257 GB, free: 15.74 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.8125, allocations: 11.94 kB / 1.257 GB, free: 15.73 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.813, allocations: 170.7 kB / 1.258 GB, free: 15.56 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.001654/0.8147, allocations: 0.8478 MB / 1.258 GB, free: 14.71 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.8154, allocations: 318.1 kB / 1.259 GB, free: 14.4 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0006191/0.816, allocations: 0.7251 MB / 1.259 GB, free: 13.67 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.8164, allocations: 271.3 kB / 1.26 GB, free: 13.41 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008513/0.8173, allocations: 0.5603 MB / 1.26 GB, free: 12.84 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.8176, allocations: 267 kB / 1.261 GB, free: 12.58 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.8177, allocations: 24 kB / 1.261 GB, free: 12.56 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.8182, allocations: 339.2 kB / 1.261 GB, free: 12.23 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.8183, allocations: 103.7 kB / 1.261 GB, free: 12.12 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.8184, allocations: 175 kB / 1.261 GB, free: 11.95 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.819, allocations: 474.5 kB / 1.262 GB, free: 11.49 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.819, allocations: 0 / 1.262 GB, free: 11.49 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.819, allocations: 0 / 1.262 GB, free: 11.49 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 6.231e-06/0.819, allocations: 0 / 1.262 GB, free: 11.49 MB / 0.9981 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.0007493/0.8198, allocations: 0.6155 MB / 1.262 GB, free: 10.82 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8198, allocations: 8.031 kB / 1.262 GB, free: 10.82 MB / 0.9981 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.988e-05/0.8199, allocations: 66.47 kB / 1.262 GB, free: 10.74 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.8201, allocations: 59.53 kB / 1.262 GB, free: 10.68 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.8206, allocations: 321.3 kB / 1.263 GB, free: 10.33 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.8206, allocations: 16.56 kB / 1.263 GB, free: 10.31 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.8207, allocations: 28 kB / 1.263 GB, free: 10.29 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004843/0.8212, allocations: 319.6 kB / 1.263 GB, free: 9.945 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8212, allocations: 0 / 1.263 GB, free: 9.945 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.8212, allocations: 12 kB / 1.263 GB, free: 9.934 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8212, allocations: 8 kB / 1.263 GB, free: 9.926 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004122/0.8216, allocations: 213.4 kB / 1.263 GB, free: 9.715 MB / 0.9981 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.001335/0.823, allocations: 1.53 MB / 1.265 GB, free: 8.051 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.8232, allocations: 114.5 kB / 1.265 GB, free: 7.93 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.8234, allocations: 96.8 kB / 1.265 GB, free: 7.832 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005232/0.8239, allocations: 299.2 kB / 1.265 GB, free: 7.484 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.824, allocations: 34.55 kB / 1.265 GB, free: 7.441 MB / 0.9981 GB
Notification: Performance of pre-optimization done (n=13): time 3.146e-06/0.824, allocations: 7.984 kB / 1.265 GB, free: 7.434 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=13): time 0.0006812/0.8247, allocations: 269.5 kB / 1.266 GB, free: 7.164 MB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.8247, allocations: 55.41 kB / 1.266 GB, free: 7.098 MB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.825, allocations: 308.5 kB / 1.266 GB, free: 6.789 MB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.825, allocations: 25.7 kB / 1.266 GB, free: 6.758 MB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.8251, allocations: 184.1 kB / 1.266 GB, free: 6.574 MB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.8251, allocations: 51.3 kB / 1.266 GB, free: 6.523 MB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.8252, allocations: 33.7 kB / 1.266 GB, free: 6.484 MB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0001035/0.8253, allocations: 338.8 kB / 1.266 GB, free: 6.145 MB / 0.9981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.8255, allocations: 59.95 kB / 1.267 GB, free: 6.086 MB / 0.9981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.8257, allocations: 115.6 kB / 1.267 GB, free: 5.957 MB / 0.9981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.826, allocations: 192.8 kB / 1.267 GB, free: 5.75 MB / 0.9981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.826, allocations: 0 / 1.267 GB, free: 5.75 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003879/0.8264, allocations: 213.1 kB / 1.267 GB, free: 5.535 MB / 0.9981 GB
Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8264, allocations: 4 kB / 1.267 GB, free: 5.531 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8264, allocations: 0 / 1.267 GB, free: 5.531 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8264, allocations: 4 kB / 1.267 GB, free: 5.527 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.8266, allocations: 32.14 kB / 1.267 GB, free: 5.496 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.8266, allocations: 7.984 kB / 1.267 GB, free: 5.488 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.8268, allocations: 31.69 kB / 1.267 GB, free: 5.457 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.8268, allocations: 11.92 kB / 1.267 GB, free: 5.445 MB / 0.9981 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.0001318/0.827, allocations: 150.3 kB / 1.267 GB, free: 5.289 MB / 0.9981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.827, allocations: 31.66 kB / 1.267 GB, free: 5.258 MB / 0.9981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004252/0.8274, allocations: 215.9 kB / 1.267 GB, free: 5.047 MB / 0.9981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8275, allocations: 3.984 kB / 1.267 GB, free: 5.043 MB / 0.9981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8275, allocations: 0 / 1.267 GB, free: 5.043 MB / 0.9981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8275, allocations: 0 / 1.267 GB, free: 5.043 MB / 0.9981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009187/0.8284, allocations: 0.6834 MB / 1.268 GB, free: 4.281 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.8284, allocations: 0 / 1.268 GB, free: 4.281 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.8285, allocations: 31.92 kB / 1.268 GB, free: 4.25 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8286, allocations: 4 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.8286, allocations: 7.938 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.8286, allocations: 4 kB / 1.268 GB, free: 4.234 MB / 0.9981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8286, allocations: 0 / 1.268 GB, free: 4.234 MB / 0.9981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.829, allocations: 345.3 kB / 1.269 GB, free: 3.859 MB / 0.9981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8291, allocations: 112.7 kB / 1.269 GB, free: 3.73 MB / 0.9981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.8291, allocations: 15.92 kB / 1.269 GB, free: 3.715 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.8293, allocations: 4 kB / 1.269 GB, free: 3.711 MB / 0.9981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.8294, allocations: 15.98 kB / 1.269 GB, free: 3.695 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.8294, allocations: 4 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB
Notification: Performance of sorting global known variables: time 0.0001977/0.8296, allocations: 231 kB / 1.269 GB, free: 3.465 MB / 0.9981 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.8296, allocations: 0 / 1.269 GB, free: 3.465 MB / 0.9981 GB
Notification: Performance of remove unused functions: time 0.0003393/0.8299, allocations: 75.84 kB / 1.269 GB, free: 3.391 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.0008164/0.8307, allocations: 0.9155 MB / 1.27 GB, free: 2.43 MB / 0.9981 GB
Notification: Performance of simCode: created initialization part: time 0.0003576/0.8311, allocations: 155.8 kB / 1.27 GB, free: 2.277 MB / 0.9981 GB
Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8311, allocations: 8.25 kB / 1.27 GB, free: 2.27 MB / 0.9981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.8313, allocations: 79.89 kB / 1.27 GB, free: 2.191 MB / 0.9981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007729/0.8321, allocations: 148.3 kB / 1.27 GB, free: 2.051 MB / 0.9981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.835, allocations: 2.799 MB / 1.273 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.8353, allocations: 0.7834 MB / 1.274 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001639/0.8355, allocations: 66.88 kB / 1.274 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.8356, allocations: 91.41 kB / 1.274 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of SimCode: time 2.9e-07/0.8356, allocations: 0 / 1.274 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4394/1.275, allocations: 8.132 MB / 1.282 GB, free: 6.184 MB / 1.014 GB
Notification: Performance of buildModelFMU: Generate platform static: time 9.891/11.17, allocations: 3.938 kB / 1.282 GB, free: 6.18 MB / 1.014 GB
(rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)
diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches