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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008088/0.008088, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.002024/0.002024, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.706/2.706, allocations: 469.4 MB / 0.7421 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3121, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.8797/1.192, allocations: 167.5 MB / 1.383 GB, free: 2.988 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007901/1.2, allocations: 6.541 MB / 1.39 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/1.2, allocations: 12.53 kB / 1.39 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000578/1.201, allocations: 169.5 kB / 1.39 GB, free: 13.56 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/1.203, allocations: 0.8861 MB / 1.391 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/1.204, allocations: 321.3 kB / 1.391 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0009322/1.205, allocations: 0.7269 MB / 1.392 GB, free: 12.24 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004718/1.206, allocations: 272.1 kB / 1.392 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/1.207, allocations: 0.5722 MB / 1.393 GB, free: 11.72 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/1.207, allocations: 269.1 kB / 1.393 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/1.207, allocations: 22.78 kB / 1.393 GB, free: 11.57 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006775/1.208, allocations: 346.9 kB / 1.393 GB, free: 11.39 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/1.208, allocations: 105.9 kB / 1.393 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002034/1.208, allocations: 166.4 kB / 1.393 GB, free: 11.21 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/1.209, allocations: 473.7 kB / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.209, allocations: 0 / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.633e-06/1.209, allocations: 0 / 1.394 GB, free: 10.91 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.209, allocations: 1.125 kB / 1.394 GB, free: 10.91 MB / 1.092 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.0009402/1.21, allocations: 0.6205 MB / 1.395 GB, free: 10.35 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.21, allocations: 9.969 kB / 1.395 GB, free: 10.35 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.332e-05/1.21, allocations: 59.11 kB / 1.395 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/1.21, allocations: 68.03 kB / 1.395 GB, free: 10.26 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00054/1.211, allocations: 336.9 kB / 1.395 GB, free: 9.945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/1.211, allocations: 19.16 kB / 1.395 GB, free: 9.938 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/1.211, allocations: 25.53 kB / 1.395 GB, free: 9.93 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/1.212, allocations: 320.5 kB / 1.395 GB, free: 9.707 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.212, allocations: 1.094 kB / 1.395 GB, free: 9.707 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/1.212, allocations: 11.25 kB / 1.395 GB, free: 9.699 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/1.212, allocations: 6.688 kB / 1.395 GB, free: 9.699 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/1.212, allocations: 204.9 kB / 1.396 GB, free: 9.602 MB / 1.092 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.001636/1.214, allocations: 1.533 MB / 1.397 GB, free: 8.152 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/1.214, allocations: 118.5 kB / 1.397 GB, free: 8.082 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/1.214, allocations: 94.64 kB / 1.397 GB, free: 8.031 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005878/1.215, allocations: 303.2 kB / 1.398 GB, free: 7.723 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/1.215, allocations: 31.72 kB / 1.398 GB, free: 7.684 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/1.215, allocations: 7.984 kB / 1.398 GB, free: 7.676 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0007804/1.216, allocations: 276.2 kB / 1.398 GB, free: 7.531 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/1.216, allocations: 53.81 kB / 1.398 GB, free: 7.469 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/1.216, allocations: 306 kB / 1.398 GB, free: 7.273 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.216, allocations: 29.7 kB / 1.398 GB, free: 7.238 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.216, allocations: 193.4 kB / 1.398 GB, free: 7.062 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/1.216, allocations: 50.39 kB / 1.398 GB, free: 7.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/1.217, allocations: 34.95 kB / 1.398 GB, free: 6.992 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.217, allocations: 337.6 kB / 1.399 GB, free: 6.66 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/1.217, allocations: 66.19 kB / 1.399 GB, free: 6.625 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.217, allocations: 115.8 kB / 1.399 GB, free: 6.539 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/1.217, allocations: 186.6 kB / 1.399 GB, free: 6.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.217, allocations: 3.938 kB / 1.399 GB, free: 6.406 MB / 1.092 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004613/1.218, allocations: 212.9 kB / 1.399 GB, free: 6.289 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/1.218, allocations: 6.375 kB / 1.399 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.218, allocations: 1.25 kB / 1.399 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.218, allocations: 2.25 kB / 1.399 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/1.218, allocations: 38 kB / 1.399 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/1.218, allocations: 2.781 kB / 1.399 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.218, allocations: 29.25 kB / 1.399 GB, free: 6.258 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/1.218, allocations: 9.406 kB / 1.399 GB, free: 6.258 MB / 1.092 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.0001618/1.218, allocations: 159 kB / 1.4 GB, free: 6.109 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.037e-05/1.219, allocations: 28.75 kB / 1.4 GB, free: 6.094 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004547/1.219, allocations: 211.5 kB / 1.4 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.219, allocations: 1.312 kB / 1.4 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.219, allocations: 1.344 kB / 1.4 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.219, allocations: 0 / 1.4 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/1.22, allocations: 0.6809 MB / 1.401 GB, free: 5.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.22, allocations: 2.219 kB / 1.401 GB, free: 5.383 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.22, allocations: 25.27 kB / 1.401 GB, free: 5.379 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/1.22, allocations: 2.938 kB / 1.401 GB, free: 5.379 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/1.221, allocations: 6.531 kB / 1.401 GB, free: 5.375 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.221, allocations: 11.31 kB / 1.401 GB, free: 5.367 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.221, allocations: 6.516 kB / 1.401 GB, free: 5.363 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/1.221, allocations: 336.2 kB / 1.401 GB, free: 5.086 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/1.221, allocations: 127 kB / 1.401 GB, free: 4.957 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/1.221, allocations: 11.5 kB / 1.401 GB, free: 4.949 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.222, allocations: 9.438 kB / 1.401 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/1.222, allocations: 13.8 kB / 1.401 GB, free: 4.938 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.222, allocations: 5.969 kB / 1.401 GB, free: 4.938 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002331/1.222, allocations: 230.1 kB / 1.401 GB, free: 4.785 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/1.222, allocations: 0 / 1.401 GB, free: 4.785 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003944/1.222, allocations: 69.92 kB / 1.401 GB, free: 4.773 MB / 1.092 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.001022/1.223, allocations: 0.9277 MB / 1.402 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004067/1.224, allocations: 157.9 kB / 1.402 GB, free: 3.863 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.224, allocations: 4.25 kB / 1.402 GB, free: 3.859 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/1.224, allocations: 85.42 kB / 1.402 GB, free: 3.82 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/1.225, allocations: 155.1 kB / 1.403 GB, free: 3.746 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.229, allocations: 2.801 MB / 1.405 GB, free: 1.613 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/1.229, allocations: 0.781 MB / 1.406 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002098/1.229, allocations: 61.31 kB / 1.406 GB, free: 0.8359 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.229, allocations: 91.19 kB / 1.406 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of SimCode: time 1.743e-06/1.229, allocations: 0 / 1.406 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/1.257, allocations: 8.143 MB / 1.414 GB, free: 12.71 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/9.405, allocations: 7.797 kB / 1.414 GB, free: 12.71 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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