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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001421/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001725/0.001725, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.339/1.339, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6643 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.673/0.6743, allocations: 140.4 MB / 0.949 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1606/0.8349, allocations: 165.3 MB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006799/0.8417, allocations: 6.571 MB / 1.117 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003595/0.8421, allocations: 11.94 kB / 1.117 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004594/0.8426, allocations: 127.1 kB / 1.117 GB, free: 5.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001696/0.8443, allocations: 0.7821 MB / 1.118 GB, free: 4.719 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007331/0.8451, allocations: 295 kB / 1.118 GB, free: 4.434 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009487/0.846, allocations: 1.006 MB / 1.119 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.8464, allocations: 246 kB / 1.119 GB, free: 3.184 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.8474, allocations: 0.5098 MB / 1.12 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004051/0.8478, allocations: 290.9 kB / 1.12 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 4.414e-05/0.8479, allocations: 16 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.8485, allocations: 395 kB / 1.12 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.8487, allocations: 103.6 kB / 1.121 GB, free: 1.883 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.8488, allocations: 155.2 kB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.8494, allocations: 478.5 kB / 1.121 GB, free: 1.262 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.8494, allocations: 4 kB / 1.121 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.62e-07/0.8494, allocations: 3.938 kB / 1.121 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.8494, allocations: 0 / 1.121 GB, free: 1.254 MB / 0.8731 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.0007853/0.8502, allocations: 0.6079 MB / 1.122 GB, free: 0.5977 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8503, allocations: 15.97 kB / 1.122 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.293e-05/0.8503, allocations: 62.53 kB / 1.122 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002882/0.8506, allocations: 59.44 kB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.851, allocations: 309.2 kB / 1.122 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.851, allocations: 20.56 kB / 1.122 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.851, allocations: 24 kB / 1.122 GB, free: 68 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.8516, allocations: 319.7 kB / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8516, allocations: 0 / 1.123 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.8516, allocations: 12 kB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.8516, allocations: 4 kB / 1.123 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003963/0.852, allocations: 209.5 kB / 1.123 GB, free: 15.51 MB / 0.8887 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.001387/0.8534, allocations: 1.542 MB / 1.124 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.8537, allocations: 118.5 kB / 1.124 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.8538, allocations: 88.8 kB / 1.124 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/0.8544, allocations: 303.2 kB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.8545, allocations: 38.55 kB / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.8545, allocations: 0 / 1.125 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0006914/0.8552, allocations: 273.4 kB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.8552, allocations: 51.41 kB / 1.125 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.8555, allocations: 312.5 kB / 1.125 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.8555, allocations: 25.7 kB / 1.125 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.8556, allocations: 184.1 kB / 1.126 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.8557, allocations: 43.33 kB / 1.126 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.8558, allocations: 41.61 kB / 1.126 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8559, allocations: 342.8 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.856, allocations: 55.95 kB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.8562, allocations: 111.1 kB / 1.126 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.8565, allocations: 188.8 kB / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8565, allocations: 0 / 1.126 GB, free: 11.54 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003909/0.8569, allocations: 213.2 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.857, allocations: 8 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.857, allocations: 0 / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.857, allocations: 4 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.8572, allocations: 31.92 kB / 1.127 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.8572, allocations: 7.984 kB / 1.127 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.8574, allocations: 35.89 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.8574, allocations: 12 kB / 1.127 GB, free: 11.22 MB / 0.8887 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.0001258/0.8575, allocations: 153.7 kB / 1.127 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.8576, allocations: 31.62 kB / 1.127 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000406/0.858, allocations: 200.9 kB / 1.127 GB, free: 10.83 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.858, allocations: 7.984 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.858, allocations: 4 kB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.858, allocations: 3.938 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.859, allocations: 0.6834 MB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.859, allocations: 4 kB / 1.128 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.8591, allocations: 23.98 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.8591, allocations: 7.984 kB / 1.128 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.8591, allocations: 7.938 kB / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8591, allocations: 0 / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.8592, allocations: 7.938 kB / 1.128 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.8596, allocations: 334.2 kB / 1.128 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.767e-05/0.8597, allocations: 120.8 kB / 1.128 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.8597, allocations: 11.88 kB / 1.128 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.8599, allocations: 19.83 kB / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.8599, allocations: 19.92 kB / 1.128 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.86, allocations: 4 kB / 1.128 GB, free: 9.445 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001927/0.8602, allocations: 231 kB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8602, allocations: 0 / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00034/0.8605, allocations: 63.91 kB / 1.128 GB, free: 9.156 MB / 0.8887 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.0008936/0.8614, allocations: 0.9298 MB / 1.129 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.8618, allocations: 148.4 kB / 1.13 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8618, allocations: 4.312 kB / 1.13 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.862, allocations: 87.81 kB / 1.13 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000754/0.8627, allocations: 153.5 kB / 1.13 GB, free: 7.809 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.8658, allocations: 2.897 MB / 1.133 GB, free: 4.758 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.8662, allocations: 0.7836 MB / 1.133 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.8664, allocations: 58.94 kB / 1.133 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.8665, allocations: 91.41 kB / 1.133 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of SimCode: time 2.9e-07/0.8665, allocations: 0 / 1.133 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.8911, allocations: 7.678 MB / 1.141 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.8913, allocations: 237.6 kB / 1.141 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.679, allocations: 0 / 1.141 GB, free: 12.05 MB / 0.9044 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