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.005031/0.005031, allocations: 105.5 kB / 15.73 MB, free: 5.984 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.001074/0.001074, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.481/2.481, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 64.03 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8601, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.182/1.042, allocations: 167.5 MB / 1.371 GB, free: 5.43 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007898/1.05, allocations: 6.543 MB / 1.378 GB, free: 14.87 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/1.051, allocations: 15.88 kB / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00063/1.051, allocations: 170.7 kB / 1.378 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002273/1.054, allocations: 0.844 MB / 1.379 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009609/1.055, allocations: 322.5 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001008/1.056, allocations: 0.7289 MB / 1.38 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005337/1.056, allocations: 270.8 kB / 1.38 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/1.057, allocations: 0.5565 MB / 1.381 GB, free: 11.97 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005299/1.058, allocations: 263 kB / 1.381 GB, free: 11.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.764e-05/1.058, allocations: 24 kB / 1.381 GB, free: 11.69 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006716/1.059, allocations: 347.2 kB / 1.381 GB, free: 11.35 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/1.059, allocations: 103.7 kB / 1.381 GB, free: 11.25 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002093/1.059, allocations: 167.1 kB / 1.381 GB, free: 11.08 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007046/1.06, allocations: 472.5 kB / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.06, allocations: 0 / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.313e-06/1.06, allocations: 0 / 1.382 GB, free: 10.62 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.48e-05/1.06, allocations: 0 / 1.382 GB, free: 10.62 MB / 1.107 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.0009398/1.061, allocations: 0.6194 MB / 1.382 GB, free: 9.953 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.061, allocations: 8.031 kB / 1.382 GB, free: 9.945 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/1.061, allocations: 63.53 kB / 1.383 GB, free: 9.883 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/1.062, allocations: 325.2 kB / 1.383 GB, free: 9.527 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.062, allocations: 16.56 kB / 1.383 GB, free: 9.508 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/1.062, allocations: 32 kB / 1.383 GB, free: 9.477 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/1.062, allocations: 319.7 kB / 1.383 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/1.062, allocations: 0 / 1.383 GB, free: 9.137 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/1.063, allocations: 12 kB / 1.383 GB, free: 9.125 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/1.063, allocations: 8 kB / 1.383 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/1.063, allocations: 205.5 kB / 1.383 GB, free: 8.918 MB / 1.107 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.001546/1.065, allocations: 1.53 MB / 1.385 GB, free: 7.25 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/1.065, allocations: 130.4 kB / 1.385 GB, free: 7.113 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.065, allocations: 100.4 kB / 1.385 GB, free: 7.016 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000567/1.066, allocations: 299.2 kB / 1.385 GB, free: 6.668 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/1.066, allocations: 30.56 kB / 1.385 GB, free: 6.629 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/1.066, allocations: 4 kB / 1.385 GB, free: 6.625 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007511/1.066, allocations: 265.2 kB / 1.386 GB, free: 6.359 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/1.066, allocations: 51.66 kB / 1.386 GB, free: 6.297 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/1.067, allocations: 316.5 kB / 1.386 GB, free: 5.984 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/1.067, allocations: 29.7 kB / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/1.067, allocations: 184.1 kB / 1.386 GB, free: 5.766 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/1.067, allocations: 55.28 kB / 1.386 GB, free: 5.711 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/1.067, allocations: 33.7 kB / 1.386 GB, free: 5.672 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.067, allocations: 338.8 kB / 1.387 GB, free: 5.332 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/1.067, allocations: 59.95 kB / 1.387 GB, free: 5.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/1.067, allocations: 119.2 kB / 1.387 GB, free: 5.141 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/1.068, allocations: 173 kB / 1.387 GB, free: 4.953 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.068, allocations: 7.938 kB / 1.387 GB, free: 4.945 MB / 1.107 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000441/1.068, allocations: 217.1 kB / 1.387 GB, free: 4.727 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/1.068, allocations: 4 kB / 1.387 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.068, allocations: 0 / 1.387 GB, free: 4.723 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.068, allocations: 4 kB / 1.387 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/1.069, allocations: 27.98 kB / 1.387 GB, free: 4.691 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.069, allocations: 8.156 kB / 1.387 GB, free: 4.684 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/1.069, allocations: 31.73 kB / 1.387 GB, free: 4.652 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.069, allocations: 4 kB / 1.387 GB, free: 4.648 MB / 1.107 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.0001351/1.069, allocations: 153.7 kB / 1.387 GB, free: 4.488 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/1.069, allocations: 27.7 kB / 1.387 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/1.069, allocations: 208.3 kB / 1.388 GB, free: 4.25 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.069, allocations: 4 kB / 1.388 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/1.069, allocations: 0 / 1.388 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.069, allocations: 0 / 1.388 GB, free: 4.246 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009952/1.07, allocations: 0.6873 MB / 1.388 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.07, allocations: 0 / 1.388 GB, free: 3.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/1.071, allocations: 27.97 kB / 1.388 GB, free: 3.453 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.071, allocations: 7.938 kB / 1.388 GB, free: 3.445 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/1.071, allocations: 8 kB / 1.388 GB, free: 3.438 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/1.071, allocations: 7.938 kB / 1.388 GB, free: 3.43 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.071, allocations: 0 / 1.388 GB, free: 3.43 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/1.071, allocations: 345.3 kB / 1.389 GB, free: 3.055 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.071, allocations: 112.7 kB / 1.389 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/1.071, allocations: 8 kB / 1.389 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/1.071, allocations: 15.86 kB / 1.389 GB, free: 2.902 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/1.072, allocations: 15.98 kB / 1.389 GB, free: 2.887 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/1.072, allocations: 4 kB / 1.389 GB, free: 2.883 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000199/1.072, allocations: 223.1 kB / 1.389 GB, free: 2.668 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 4 kB / 1.389 GB, free: 2.664 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003863/1.072, allocations: 75.83 kB / 1.389 GB, free: 2.59 MB / 1.107 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.0004006/1.073, allocations: 160.1 kB / 1.389 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004177/1.073, allocations: 155.7 kB / 1.389 GB, free: 2.273 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.073, allocations: 0 / 1.389 GB, free: 2.273 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/1.073, allocations: 84.58 kB / 1.39 GB, free: 2.191 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00082/1.074, allocations: 158 kB / 1.39 GB, free: 2.043 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/1.075, allocations: 0.5406 MB / 1.39 GB, free: 1.453 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/1.075, allocations: 0.7834 MB / 1.391 GB, free: 0.6445 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001806/1.075, allocations: 58.94 kB / 1.391 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/1.075, allocations: 23.44 kB / 1.391 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of SimCode: time 2.51e-07/1.075, allocations: 0 / 1.391 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of Templates: time 0.01053/1.086, allocations: 5.222 MB / 1.396 GB, free: 11.43 MB / 1.123 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