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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.001472/0.001472, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001686/0.001686, allocations: 196.6 kB / 16.14 MB, free: 6.734 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.644/2.644, allocations: 461.8 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.98 kB / 0.8985 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1864/0.4991, allocations: 165.3 MB / 1.214 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007138/0.5063, allocations: 6.545 MB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003579/0.5067, allocations: 11.94 kB / 1.22 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.5072, allocations: 135.1 kB / 1.22 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.5091, allocations: 0.7899 MB / 1.221 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007635/0.5099, allocations: 298.9 kB / 1.221 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008912/0.5108, allocations: 1.018 MB / 1.222 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003545/0.5111, allocations: 234.1 kB / 1.222 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009258/0.5121, allocations: 0.5059 MB / 1.223 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.5124, allocations: 290.8 kB / 1.223 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.5125, allocations: 16 kB / 1.223 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006112/0.5131, allocations: 395 kB / 1.224 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.5132, allocations: 99.7 kB / 1.224 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.5134, allocations: 155.2 kB / 1.224 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.514, allocations: 478.5 kB / 1.224 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.514, allocations: 4 kB / 1.224 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.52e-07/0.514, allocations: 0 / 1.224 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.514, allocations: 0 / 1.224 GB, free: 7.328 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.0008529/0.5149, allocations: 0.6247 MB / 1.225 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.5149, allocations: 15.97 kB / 1.225 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.515, allocations: 58.55 kB / 1.225 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.5153, allocations: 71.5 kB / 1.225 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.5157, allocations: 297.3 kB / 1.225 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.5157, allocations: 28.5 kB / 1.225 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.5158, allocations: 24 kB / 1.225 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.5163, allocations: 311.7 kB / 1.226 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5163, allocations: 3.938 kB / 1.226 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.5163, allocations: 16 kB / 1.226 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.5163, allocations: 7.984 kB / 1.226 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.5168, allocations: 197.5 kB / 1.226 GB, free: 5.574 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.001474/0.5182, allocations: 1.542 MB / 1.227 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.5185, allocations: 114.5 kB / 1.228 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5187, allocations: 88.81 kB / 1.228 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006669/0.5194, allocations: 307.2 kB / 1.228 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5194, allocations: 38.5 kB / 1.228 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.5194, allocations: 4 kB / 1.228 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007115/0.5201, allocations: 261.3 kB / 1.228 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.5202, allocations: 51.66 kB / 1.228 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.5205, allocations: 316.5 kB / 1.229 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5205, allocations: 25.7 kB / 1.229 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5206, allocations: 184.1 kB / 1.229 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.5207, allocations: 51.3 kB / 1.229 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.234e-05/0.5207, allocations: 29.72 kB / 1.229 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5209, allocations: 342.8 kB / 1.229 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.521, allocations: 63.89 kB / 1.229 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.5212, allocations: 114.6 kB / 1.229 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/0.5215, allocations: 177 kB / 1.229 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5216, allocations: 7.938 kB / 1.229 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003855/0.5219, allocations: 209.1 kB / 1.23 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.522, allocations: 8 kB / 1.23 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.522, allocations: 3.984 kB / 1.23 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.522, allocations: 4 kB / 1.23 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.5222, allocations: 36.02 kB / 1.23 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.5222, allocations: 8 kB / 1.23 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001899/0.5224, allocations: 31.81 kB / 1.23 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5224, allocations: 11.98 kB / 1.23 GB, free: 1.285 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.000138/0.5226, allocations: 149.8 kB / 1.23 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.5226, allocations: 31.62 kB / 1.23 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.5231, allocations: 217.2 kB / 1.23 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5231, allocations: 0 / 1.23 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5231, allocations: 0 / 1.23 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5231, allocations: 3.984 kB / 1.23 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.524, allocations: 0.6796 MB / 1.231 GB, free: 124 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.524, allocations: 4 kB / 1.231 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.5242, allocations: 27.92 kB / 1.231 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5242, allocations: 4 kB / 1.231 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.5242, allocations: 12.16 kB / 1.231 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.5242, allocations: 4 kB / 1.231 GB, free: 72 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5242, allocations: 4 kB / 1.231 GB, free: 68 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004168/0.5246, allocations: 337.1 kB / 1.231 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.5248, allocations: 116.7 kB / 1.231 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.5248, allocations: 11.94 kB / 1.231 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.525, allocations: 11.98 kB / 1.231 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.525, allocations: 23.92 kB / 1.231 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5251, allocations: 4 kB / 1.231 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001964/0.5253, allocations: 227 kB / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5253, allocations: 0 / 1.232 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003432/0.5256, allocations: 67.84 kB / 1.232 GB, free: 15.23 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.0009474/0.5266, allocations: 0.9196 MB / 1.233 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.527, allocations: 163.7 kB / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.527, allocations: 0 / 1.233 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.5272, allocations: 79.95 kB / 1.233 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.5279, allocations: 145.8 kB / 1.233 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00333/0.5313, allocations: 2.904 MB / 1.236 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5316, allocations: 0.7798 MB / 1.237 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001924/0.5318, allocations: 54.94 kB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.532, allocations: 91.41 kB / 1.237 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.532, allocations: 3.938 kB / 1.237 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4235/0.9554, allocations: 7.688 MB / 1.244 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/0.9558, allocations: 246 kB / 1.244 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.824, allocations: 8.062 kB / 1.244 GB, free: 2.113 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