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.007835/0.007835, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001849/0.00185, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.319/2.319, allocations: 390.3 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.25 kB / 0.9504 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2753, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1682/0.4435, allocations: 167.5 MB / 1.251 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00716/0.4507, allocations: 6.532 MB / 1.257 GB, free: 3.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.4511, allocations: 11.94 kB / 1.257 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.4516, allocations: 178.7 kB / 1.258 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.4535, allocations: 0.8401 MB / 1.258 GB, free: 2.219 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007951/0.4543, allocations: 339.1 kB / 1.259 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006661/0.455, allocations: 0.7212 MB / 1.26 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.4553, allocations: 271.5 kB / 1.26 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008872/0.4562, allocations: 0.5564 MB / 1.26 GB, free: 352 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.4565, allocations: 267 kB / 1.261 GB, free: 84 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.4566, allocations: 24 kB / 1.261 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6526/1.109, allocations: 338.9 kB / 1.261 GB, free: 4.496 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001649/1.109, allocations: 100.8 kB / 1.261 GB, free: 4.496 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002446/1.11, allocations: 162.7 kB / 1.261 GB, free: 4.496 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007984/1.11, allocations: 470.4 kB / 1.262 GB, free: 4.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.11, allocations: 0 / 1.262 GB, free: 4.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.575e-06/1.11, allocations: 0.5156 kB / 1.262 GB, free: 4.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.624e-06/1.11, allocations: 0 / 1.262 GB, free: 4.492 MB / 1.014 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.0008214/1.111, allocations: 0.6168 MB / 1.262 GB, free: 4.074 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.111, allocations: 11.11 kB / 1.262 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.203e-05/1.111, allocations: 62.02 kB / 1.262 GB, free: 4.035 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003145/1.112, allocations: 63.12 kB / 1.262 GB, free: 4.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/1.112, allocations: 328 kB / 1.263 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.112, allocations: 18.38 kB / 1.263 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/1.112, allocations: 29.16 kB / 1.263 GB, free: 3.789 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005521/1.113, allocations: 316 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/1.113, allocations: 0.9688 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/1.113, allocations: 15.27 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/1.113, allocations: 7.828 kB / 1.263 GB, free: 3.695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/1.113, allocations: 202.3 kB / 1.263 GB, free: 3.695 MB / 1.014 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.001529/1.115, allocations: 1.53 MB / 1.265 GB, free: 2.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/1.115, allocations: 116.7 kB / 1.265 GB, free: 2.543 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/1.115, allocations: 90 kB / 1.265 GB, free: 2.535 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/1.116, allocations: 304.3 kB / 1.265 GB, free: 18.25 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/1.116, allocations: 39.88 kB / 1.265 GB, free: 18.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/1.116, allocations: 0.5625 kB / 1.265 GB, free: 18.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008276/1.117, allocations: 271 kB / 1.265 GB, free: 18.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/1.117, allocations: 54.75 kB / 1.266 GB, free: 18.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003844/1.118, allocations: 309.4 kB / 1.266 GB, free: 18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/1.118, allocations: 28.77 kB / 1.266 GB, free: 17.97 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/1.118, allocations: 186.8 kB / 1.266 GB, free: 17.86 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/1.118, allocations: 49.75 kB / 1.266 GB, free: 17.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/1.118, allocations: 34.33 kB / 1.266 GB, free: 17.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.118, allocations: 342.5 kB / 1.266 GB, free: 17.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/1.118, allocations: 58.81 kB / 1.267 GB, free: 17.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.118, allocations: 116.7 kB / 1.267 GB, free: 17.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/1.119, allocations: 175.7 kB / 1.267 GB, free: 17.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.119, allocations: 1.125 kB / 1.267 GB, free: 17.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004578/1.119, allocations: 217.7 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.119, allocations: 12.66 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.119, allocations: 1.844 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.119, allocations: 2 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/1.119, allocations: 38.62 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.119, allocations: 2.312 kB / 1.267 GB, free: 17.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/1.12, allocations: 34.12 kB / 1.267 GB, free: 17.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/1.12, allocations: 7.891 kB / 1.267 GB, free: 17.34 MB / 1.029 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.0001401/1.12, allocations: 148.6 kB / 1.267 GB, free: 17.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/1.12, allocations: 36.09 kB / 1.267 GB, free: 17.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004767/1.12, allocations: 211.7 kB / 1.267 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.12, allocations: 1.75 kB / 1.267 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.12, allocations: 0.5156 kB / 1.267 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.12, allocations: 2.422 kB / 1.267 GB, free: 17.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.122, allocations: 0.6853 MB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.122, allocations: 1.938 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/1.122, allocations: 26.48 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.122, allocations: 2.219 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/1.122, allocations: 11.89 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.122, allocations: 3.969 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.122, allocations: 4 kB / 1.268 GB, free: 16.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005042/1.122, allocations: 334.7 kB / 1.269 GB, free: 16.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.122, allocations: 119.8 kB / 1.269 GB, free: 16.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/1.122, allocations: 6.922 kB / 1.269 GB, free: 16.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.123, allocations: 10.33 kB / 1.269 GB, free: 16.49 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/1.123, allocations: 23.52 kB / 1.269 GB, free: 16.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/1.123, allocations: 4.938 kB / 1.269 GB, free: 16.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002101/1.123, allocations: 223.7 kB / 1.269 GB, free: 16.41 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0 / 1.269 GB, free: 16.41 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004064/1.123, allocations: 72.86 kB / 1.269 GB, free: 16.4 MB / 1.029 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.001058/1.124, allocations: 0.9133 MB / 1.27 GB, free: 15.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004531/1.125, allocations: 172.4 kB / 1.27 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.125, allocations: 0 / 1.27 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/1.125, allocations: 80.16 kB / 1.27 GB, free: 15.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/1.126, allocations: 152.9 kB / 1.27 GB, free: 15.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/1.13, allocations: 2.803 MB / 1.273 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/1.13, allocations: 0.7826 MB / 1.274 GB, free: 13.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002346/1.131, allocations: 67.22 kB / 1.274 GB, free: 13.44 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.131, allocations: 89.78 kB / 1.274 GB, free: 13.44 MB / 1.029 GB Notification: Performance of SimCode: time 8.61e-07/1.131, allocations: 4.219 kB / 1.274 GB, free: 13.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03075/1.161, allocations: 8.253 MB / 1.282 GB, free: 12.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.915, allocations: 1.031 kB / 1.282 GB, free: 12.86 MB / 1.029 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