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.001142/0.001142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001241/0.001241, allocations: 191.5 kB / 16.25 MB, free: 6.648 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.292/2.292, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5494, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1845/0.7339, allocations: 165.3 MB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007396/0.7414, allocations: 6.499 MB / 1.117 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005015/0.7419, allocations: 15.88 kB / 1.117 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.7425, allocations: 143.1 kB / 1.117 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002251/0.7448, allocations: 0.786 MB / 1.118 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.7458, allocations: 295.1 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009569/0.7468, allocations: 0.7251 MB / 1.119 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004896/0.7473, allocations: 258.8 kB / 1.119 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.7485, allocations: 0.5526 MB / 1.12 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004725/0.749, allocations: 282.9 kB / 1.12 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.749, allocations: 24 kB / 1.12 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006545/0.7497, allocations: 351.1 kB / 1.12 GB, free: 2.289 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.7499, allocations: 111.7 kB / 1.12 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.7501, allocations: 163.1 kB / 1.121 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006986/0.7508, allocations: 494.4 kB / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7508, allocations: 0 / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7508, allocations: 0 / 1.121 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.7509, allocations: 0 / 1.121 GB, free: 1.535 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.001009/0.7519, allocations: 0.6117 MB / 1.122 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.7519, allocations: 16.03 kB / 1.122 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.409e-05/0.752, allocations: 58.55 kB / 1.122 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.7523, allocations: 67.42 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.7528, allocations: 309.2 kB / 1.122 GB, free: 392 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.7529, allocations: 16.56 kB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.7529, allocations: 28 kB / 1.122 GB, free: 348 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.7535, allocations: 315.7 kB / 1.122 GB, free: 4 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.7535, allocations: 0 / 1.122 GB, free: 4 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.7535, allocations: 12.05 kB / 1.122 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.7536, allocations: 8 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000433/0.754, allocations: 201.5 kB / 1.123 GB, free: 15.79 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.001671/0.7557, allocations: 1.546 MB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.7559, allocations: 110.5 kB / 1.124 GB, free: 13.99 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.7561, allocations: 93.05 kB / 1.124 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.7569, allocations: 311.2 kB / 1.125 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.7569, allocations: 34.5 kB / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.7569, allocations: 0 / 1.125 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13): time 0.0007677/0.7577, allocations: 269.2 kB / 1.125 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7577, allocations: 55.41 kB / 1.125 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.7581, allocations: 308.6 kB / 1.125 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.7581, allocations: 29.69 kB / 1.125 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.7582, allocations: 192 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.7583, allocations: 43.39 kB / 1.126 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.7584, allocations: 33.62 kB / 1.126 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7585, allocations: 342.8 kB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.7587, allocations: 63.95 kB / 1.126 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.7589, allocations: 115.4 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.7592, allocations: 177 kB / 1.126 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7592, allocations: 0 / 1.126 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004074/0.7596, allocations: 213.1 kB / 1.126 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.7596, allocations: 8.156 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7596, allocations: 0 / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7597, allocations: 4 kB / 1.126 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.7598, allocations: 35.91 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7599, allocations: 4 kB / 1.126 GB, free: 11.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.7601, allocations: 31.73 kB / 1.126 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.7601, allocations: 11.94 kB / 1.126 GB, free: 11.5 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.0001397/0.7602, allocations: 161.8 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.7603, allocations: 27.62 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.7608, allocations: 212.3 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.7608, allocations: 0 / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7608, allocations: 0 / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7608, allocations: 3.984 kB / 1.127 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.7618, allocations: 0.6796 MB / 1.128 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.7619, allocations: 4.203 kB / 1.128 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.762, allocations: 31.92 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.762, allocations: 4 kB / 1.128 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.762, allocations: 7.938 kB / 1.128 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.762, allocations: 4 kB / 1.128 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.762, allocations: 0 / 1.128 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.7625, allocations: 337 kB / 1.128 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.7626, allocations: 112.8 kB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.7626, allocations: 7.938 kB / 1.128 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.7628, allocations: 31.77 kB / 1.128 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.7629, allocations: 15.92 kB / 1.128 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.7629, allocations: 4 kB / 1.128 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002011/0.7631, allocations: 227 kB / 1.128 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/0.7631, allocations: 0 / 1.128 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003662/0.7635, allocations: 71.91 kB / 1.128 GB, free: 9.434 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.0009463/0.7644, allocations: 0.9222 MB / 1.129 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000409/0.7649, allocations: 165 kB / 1.129 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7649, allocations: 0 / 1.129 GB, free: 8.312 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.7651, allocations: 88.58 kB / 1.13 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008119/0.7659, allocations: 149.6 kB / 1.13 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003373/0.7693, allocations: 2.903 MB / 1.132 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.7696, allocations: 0.7834 MB / 1.133 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002062/0.7698, allocations: 58.92 kB / 1.133 GB, free: 4.16 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.77, allocations: 91.41 kB / 1.133 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of SimCode: time 2.384e-06/0.77, allocations: 4 kB / 1.133 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/2.402, allocations: 7.887 MB / 1.141 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/2.402, allocations: 234.4 kB / 1.141 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/5.048, allocations: 64 / 1.141 GB, free: 12.13 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