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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001776/0.001776, 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.002091/0.002091, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.112/3.112, allocations: 461.9 MB / 0.7344 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.84 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4587, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1849/0.6437, allocations: 165.3 MB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008043/0.6518, allocations: 6.494 MB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005184/0.6523, allocations: 11.88 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.653, allocations: 147.1 kB / 1.22 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.6553, allocations: 0.786 MB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.6564, allocations: 282.8 kB / 1.221 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.6574, allocations: 0.729 MB / 1.222 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005499/0.658, allocations: 267.5 kB / 1.222 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.6594, allocations: 0.5488 MB / 1.223 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.66, allocations: 286.9 kB / 1.223 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.427e-05/0.66, allocations: 24 kB / 1.223 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.6608, allocations: 355.1 kB / 1.223 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.661, allocations: 107.7 kB / 1.224 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.6612, allocations: 159.2 kB / 1.224 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008628/0.6621, allocations: 490.4 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6621, allocations: 0 / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6621, allocations: 4 kB / 1.224 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.6622, allocations: 0 / 1.224 GB, free: 8.078 MB / 0.9825 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.0011/0.6633, allocations: 0.6232 MB / 1.225 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6633, allocations: 12.62 kB / 1.225 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.6634, allocations: 58.55 kB / 1.225 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.6638, allocations: 63.53 kB / 1.225 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.6643, allocations: 305.2 kB / 1.225 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6643, allocations: 20.56 kB / 1.225 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.6644, allocations: 28 kB / 1.225 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.6649, allocations: 315.7 kB / 1.226 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.665, allocations: 0 / 1.226 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.665, allocations: 15.94 kB / 1.226 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.665, allocations: 8 kB / 1.226 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.6655, allocations: 201.5 kB / 1.226 GB, free: 6.328 MB / 0.9825 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.001928/0.6674, allocations: 1.542 MB / 1.227 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.6677, allocations: 118.5 kB / 1.227 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.6679, allocations: 92.81 kB / 1.228 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007184/0.6686, allocations: 295.2 kB / 1.228 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.6687, allocations: 42.5 kB / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.6687, allocations: 0 / 1.228 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008044/0.6695, allocations: 273 kB / 1.228 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6695, allocations: 51.41 kB / 1.228 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.6699, allocations: 312.5 kB / 1.228 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.6699, allocations: 29.7 kB / 1.228 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.6701, allocations: 180.1 kB / 1.229 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.6701, allocations: 51.3 kB / 1.229 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.6702, allocations: 33.72 kB / 1.229 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.6703, allocations: 342.8 kB / 1.229 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6705, allocations: 59.95 kB / 1.229 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.6707, allocations: 118.9 kB / 1.229 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.671, allocations: 172.9 kB / 1.229 GB, free: 2.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.671, allocations: 4 kB / 1.229 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004161/0.6714, allocations: 217.1 kB / 1.23 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.6715, allocations: 4 kB / 1.23 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6715, allocations: 0 / 1.23 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.6715, allocations: 7.984 kB / 1.23 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.6717, allocations: 31.92 kB / 1.23 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6717, allocations: 8.156 kB / 1.23 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.6719, allocations: 31.77 kB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.672, allocations: 11.94 kB / 1.23 GB, free: 2.047 MB / 0.9825 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.0001685/0.6722, allocations: 153.8 kB / 1.23 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.6722, allocations: 27.62 kB / 1.23 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.6727, allocations: 216.3 kB / 1.23 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6727, allocations: 0 / 1.23 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6727, allocations: 0 / 1.23 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6727, allocations: 8.016 kB / 1.23 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.6737, allocations: 0.6835 MB / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.6737, allocations: 0 / 1.231 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.6738, allocations: 27.92 kB / 1.231 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6739, allocations: 4 kB / 1.231 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.6739, allocations: 11.94 kB / 1.231 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6739, allocations: 4.219 kB / 1.231 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6739, allocations: 7.938 kB / 1.231 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.6743, allocations: 329.1 kB / 1.231 GB, free: 472 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.6744, allocations: 120.7 kB / 1.231 GB, free: 332 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.6745, allocations: 7.938 kB / 1.231 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.6747, allocations: 15.98 kB / 1.231 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.6748, allocations: 19.92 kB / 1.231 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.6748, allocations: 8 kB / 1.231 GB, free: 280 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002159/0.675, allocations: 223 kB / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.675, allocations: 0 / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004187/0.6754, allocations: 79.89 kB / 1.232 GB, free: 15.97 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.0009471/0.6764, allocations: 0.9156 MB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.6768, allocations: 159.8 kB / 1.233 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6768, allocations: 4 kB / 1.233 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.677, allocations: 87.77 kB / 1.233 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008418/0.6778, allocations: 159.8 kB / 1.233 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003743/0.6816, allocations: 2.895 MB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.682, allocations: 0.7756 MB / 1.236 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000234/0.6822, allocations: 62.94 kB / 1.236 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6824, allocations: 91.41 kB / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.6824, allocations: 0 / 1.237 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.673/8.355, allocations: 7.891 MB / 1.244 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003776/8.356, allocations: 256.8 kB / 1.245 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.635/12.99, allocations: 0 / 1.245 GB, free: 2.684 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 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.mat","/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