Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="Buildings_11_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.004881/0.004881, allocations: 99.16 kB / 15.73 MB, free: 6.008 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.001293/0.001293, allocations: 198.3 kB / 16.68 MB, free: 5.934 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7232/0.7253, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.195/0.9204, allocations: 167.5 MB / 1.384 GB, free: 9.875 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008535/0.929, allocations: 6.547 MB / 1.39 GB, free: 3.309 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004523/0.9295, allocations: 15.88 kB / 1.39 GB, free: 3.293 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.9301, allocations: 170.7 kB / 1.39 GB, free: 3.125 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.9325, allocations: 0.8401 MB / 1.391 GB, free: 2.281 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.9335, allocations: 331.8 kB / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.9346, allocations: 0.725 MB / 1.392 GB, free: 1.23 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005239/0.9351, allocations: 267.3 kB / 1.392 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.9363, allocations: 0.5525 MB / 1.393 GB, free: 420 kB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.9368, allocations: 271 kB / 1.393 GB, free: 148 kB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.366e-05/0.9369, allocations: 20 kB / 1.393 GB, free: 128 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007397/0.9376, allocations: 339.2 kB / 1.394 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.9378, allocations: 111.6 kB / 1.394 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.9381, allocations: 159.2 kB / 1.394 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007563/0.9388, allocations: 474 kB / 1.394 GB, free: 15.07 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9388, allocations: 3.984 kB / 1.394 GB, free: 15.06 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9388, allocations: 0 / 1.394 GB, free: 15.06 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.9389, allocations: 4 kB / 1.394 GB, free: 15.06 MB / 1.123 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.001029/0.9399, allocations: 0.6229 MB / 1.395 GB, free: 14.39 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.94, allocations: 11.97 kB / 1.395 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.94, allocations: 66.53 kB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.9404, allocations: 59.67 kB / 1.395 GB, free: 14.24 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.9409, allocations: 329.4 kB / 1.395 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.941, allocations: 20.56 kB / 1.395 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.941, allocations: 24 kB / 1.395 GB, free: 13.84 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.9417, allocations: 319.7 kB / 1.396 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.9417, allocations: 7.922 kB / 1.396 GB, free: 13.5 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.9417, allocations: 8 kB / 1.396 GB, free: 13.49 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.9417, allocations: 8 kB / 1.396 GB, free: 13.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004633/0.9422, allocations: 209.4 kB / 1.396 GB, free: 13.27 MB / 1.123 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.001815/0.944, allocations: 1.531 MB / 1.397 GB, free: 11.61 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.9443, allocations: 118.5 kB / 1.398 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.9445, allocations: 88.8 kB / 1.398 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006363/0.9452, allocations: 303.2 kB / 1.398 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.9452, allocations: 30.56 kB / 1.398 GB, free: 11 MB / 1.123 GB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.9452, allocations: 3.938 kB / 1.398 GB, free: 11 MB / 1.123 GB Notification: Performance of matching and sorting (n=13): time 0.0007881/0.946, allocations: 285.5 kB / 1.398 GB, free: 10.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9461, allocations: 51.41 kB / 1.398 GB, free: 10.65 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.9464, allocations: 308.5 kB / 1.399 GB, free: 10.34 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.9464, allocations: 29.7 kB / 1.399 GB, free: 10.31 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.9466, allocations: 184.3 kB / 1.399 GB, free: 10.12 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.9466, allocations: 47.56 kB / 1.399 GB, free: 10.08 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.9467, allocations: 49.66 kB / 1.399 GB, free: 10.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.9469, allocations: 330.8 kB / 1.399 GB, free: 9.691 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.9471, allocations: 63.86 kB / 1.399 GB, free: 9.629 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.9473, allocations: 109.1 kB / 1.399 GB, free: 9.504 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.9476, allocations: 180.9 kB / 1.4 GB, free: 9.309 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.9477, allocations: 0 / 1.4 GB, free: 9.309 MB / 1.123 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004646/0.9481, allocations: 229.2 kB / 1.4 GB, free: 9.078 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.9482, allocations: 4 kB / 1.4 GB, free: 9.074 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.9482, allocations: 4 kB / 1.4 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9482, allocations: 0 / 1.4 GB, free: 9.07 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.9484, allocations: 35.98 kB / 1.4 GB, free: 9.035 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.9484, allocations: 3.938 kB / 1.4 GB, free: 9.031 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.9486, allocations: 28.03 kB / 1.4 GB, free: 9.004 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.9486, allocations: 8 kB / 1.4 GB, free: 8.996 MB / 1.123 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.0001585/0.9488, allocations: 157.7 kB / 1.4 GB, free: 8.832 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.9489, allocations: 27.81 kB / 1.4 GB, free: 8.805 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.9494, allocations: 213 kB / 1.4 GB, free: 8.586 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.9494, allocations: 4 kB / 1.4 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.9494, allocations: 0 / 1.4 GB, free: 8.582 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.9494, allocations: 8.031 kB / 1.4 GB, free: 8.574 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.9505, allocations: 0.6797 MB / 1.401 GB, free: 7.816 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9505, allocations: 4 kB / 1.401 GB, free: 7.812 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.9506, allocations: 27.92 kB / 1.401 GB, free: 7.785 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.9506, allocations: 4 kB / 1.401 GB, free: 7.781 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.9507, allocations: 3.938 kB / 1.401 GB, free: 7.777 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.9507, allocations: 7.938 kB / 1.401 GB, free: 7.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9507, allocations: 4 kB / 1.401 GB, free: 7.766 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.9512, allocations: 340.8 kB / 1.401 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9513, allocations: 128.8 kB / 1.401 GB, free: 7.254 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.9513, allocations: 7.938 kB / 1.401 GB, free: 7.246 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.9515, allocations: 7.984 kB / 1.401 GB, free: 7.238 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.9516, allocations: 11.98 kB / 1.401 GB, free: 7.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.9516, allocations: 8 kB / 1.401 GB, free: 7.219 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002341/0.9518, allocations: 223 kB / 1.402 GB, free: 7.004 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.893e-06/0.9518, allocations: 0 / 1.402 GB, free: 7.004 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003805/0.9522, allocations: 75.83 kB / 1.402 GB, free: 6.93 MB / 1.123 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.001094/0.9533, allocations: 0.9282 MB / 1.403 GB, free: 5.957 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.9538, allocations: 156.5 kB / 1.403 GB, free: 5.805 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9538, allocations: 0 / 1.403 GB, free: 5.805 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.954, allocations: 80.62 kB / 1.403 GB, free: 5.727 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.9548, allocations: 164.1 kB / 1.403 GB, free: 5.57 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.9586, allocations: 2.81 MB / 1.406 GB, free: 2.605 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.959, allocations: 0.7832 MB / 1.406 GB, free: 1.793 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.9592, allocations: 58.95 kB / 1.407 GB, free: 1.734 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.9593, allocations: 91.41 kB / 1.407 GB, free: 1.648 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/0.9593, allocations: 0 / 1.407 GB, free: 1.648 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.9925, allocations: 8.122 MB / 1.415 GB, free: 9.707 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/9.089, allocations: 6.984 kB / 1.415 GB, free: 9.703 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_11_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches