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: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001601/0.001601, allocations: 195.7 kB / 16.14 MB, free: 6.711 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.56 kB / 0.8984 GB, free: 37.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 157.4 MB / 1.052 GB, free: 8.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2023/0.5095, allocations: 165.3 MB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009233/0.5188, allocations: 6.541 MB / 1.22 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009586/0.5199, allocations: 15.88 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.5207, allocations: 139.1 kB / 1.22 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.5234, allocations: 0.7899 MB / 1.221 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.5244, allocations: 286.5 kB / 1.221 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.5256, allocations: 1.014 MB / 1.222 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.526, allocations: 242.1 kB / 1.222 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.5272, allocations: 0.5098 MB / 1.223 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.5276, allocations: 286.9 kB / 1.223 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.5277, allocations: 16 kB / 1.223 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.5285, allocations: 391 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5286, allocations: 107.6 kB / 1.224 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.5288, allocations: 159.2 kB / 1.224 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.5294, allocations: 474.5 kB / 1.224 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.5294, allocations: 8 kB / 1.224 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5294, allocations: 0 / 1.224 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5294, allocations: 0 / 1.224 GB, free: 7.977 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.000934/0.5304, allocations: 0.6127 MB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.5304, allocations: 12.03 kB / 1.225 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/0.5308, allocations: 59.5 kB / 1.225 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.5312, allocations: 313.1 kB / 1.225 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.5312, allocations: 24.56 kB / 1.225 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.5313, allocations: 24 kB / 1.225 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.5318, allocations: 319.7 kB / 1.226 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5319, allocations: 4 kB / 1.226 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.5319, allocations: 8 kB / 1.226 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5319, allocations: 8 kB / 1.226 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.5323, allocations: 205.5 kB / 1.226 GB, free: 6.297 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.001589/0.5339, allocations: 1.527 MB / 1.227 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.5342, allocations: 130.4 kB / 1.227 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.5344, allocations: 88.8 kB / 1.227 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/0.5351, allocations: 303.2 kB / 1.228 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.5352, allocations: 30.56 kB / 1.228 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.5352, allocations: 0 / 1.228 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007878/0.536, allocations: 280.4 kB / 1.228 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.536, allocations: 55.34 kB / 1.228 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5363, allocations: 308.5 kB / 1.228 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.5364, allocations: 33.7 kB / 1.228 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.5365, allocations: 180.1 kB / 1.229 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.5366, allocations: 47.3 kB / 1.229 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.5366, allocations: 37.7 kB / 1.229 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5368, allocations: 338.8 kB / 1.229 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.537, allocations: 63.89 kB / 1.229 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.5372, allocations: 114.9 kB / 1.229 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.5375, allocations: 173 kB / 1.229 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5375, allocations: 3.938 kB / 1.229 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004033/0.5379, allocations: 221.1 kB / 1.23 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.5379, allocations: 4 kB / 1.23 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.538, allocations: 4 kB / 1.23 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.538, allocations: 0 / 1.23 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.5382, allocations: 39.86 kB / 1.23 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.5382, allocations: 3.984 kB / 1.23 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5384, allocations: 35.98 kB / 1.23 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.5384, allocations: 8 kB / 1.23 GB, free: 2.012 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.0001435/0.5386, allocations: 155.2 kB / 1.23 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.5386, allocations: 27.62 kB / 1.23 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004442/0.5391, allocations: 208.3 kB / 1.23 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5391, allocations: 4 kB / 1.23 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5391, allocations: 4 kB / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5391, allocations: 0 / 1.23 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5401, allocations: 0.6873 MB / 1.231 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5401, allocations: 4.047 kB / 1.231 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.5403, allocations: 27.97 kB / 1.231 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5403, allocations: 4 kB / 1.231 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5403, allocations: 4 kB / 1.231 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.5403, allocations: 15.86 kB / 1.231 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5403, allocations: 4 kB / 1.231 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004111/0.5407, allocations: 325.4 kB / 1.231 GB, free: 440 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.5409, allocations: 128.6 kB / 1.231 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.5409, allocations: 8 kB / 1.231 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.5411, allocations: 15.92 kB / 1.231 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.5412, allocations: 11.98 kB / 1.231 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5412, allocations: 12 kB / 1.231 GB, free: 244 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002061/0.5414, allocations: 223 kB / 1.231 GB, free: 20 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5414, allocations: 0 / 1.231 GB, free: 20 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003949/0.5418, allocations: 75.89 kB / 1.231 GB, free: 15.94 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.0003967/0.5422, allocations: 148.8 kB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.5426, allocations: 159.8 kB / 1.232 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5426, allocations: 7.938 kB / 1.232 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.5428, allocations: 84.45 kB / 1.232 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/0.5437, allocations: 141 kB / 1.232 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.5446, allocations: 0.6283 MB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.545, allocations: 0.7836 MB / 1.233 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001973/0.5452, allocations: 59.14 kB / 1.233 GB, free: 13.87 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.5453, allocations: 27.42 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.5453, allocations: 0 / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.009595/0.5549, allocations: 4.874 MB / 1.238 GB, free: 9.043 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches