Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001412/0.001412, allocations: 107.8 kB / 16.41 MB, free: 6.492 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.001488/0.001488, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8862/0.8876, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1861/1.074, allocations: 167.5 MB / 1.331 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007718/1.082, allocations: 6.545 MB / 1.337 GB, free: 5.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005044/1.082, allocations: 15.88 kB / 1.337 GB, free: 5.055 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/1.083, allocations: 174.7 kB / 1.337 GB, free: 4.883 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002338/1.085, allocations: 0.883 MB / 1.338 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009394/1.086, allocations: 322.7 kB / 1.339 GB, free: 3.684 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008304/1.087, allocations: 0.7173 MB / 1.339 GB, free: 2.965 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004429/1.087, allocations: 282.7 kB / 1.34 GB, free: 2.688 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/1.089, allocations: 0.5682 MB / 1.34 GB, free: 2.117 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003861/1.089, allocations: 263 kB / 1.34 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.043e-05/1.089, allocations: 24 kB / 1.34 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006418/1.09, allocations: 339.2 kB / 1.341 GB, free: 1.504 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/1.09, allocations: 107.6 kB / 1.341 GB, free: 1.398 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001633/1.09, allocations: 167.1 kB / 1.341 GB, free: 1.234 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000635/1.091, allocations: 468.5 kB / 1.341 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.091, allocations: 4 kB / 1.342 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.442e-06/1.091, allocations: 0 / 1.342 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.335e-06/1.091, allocations: 4 kB / 1.342 GB, free: 0.7695 MB / 1.061 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.0009003/1.092, allocations: 0.6193 MB / 1.342 GB, free: 104 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.092, allocations: 8.031 kB / 1.342 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/1.092, allocations: 59.59 kB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/1.092, allocations: 329.1 kB / 1.342 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/1.093, allocations: 16.56 kB / 1.343 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/1.093, allocations: 28 kB / 1.343 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/1.093, allocations: 319.7 kB / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/1.093, allocations: 0 / 1.343 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/1.093, allocations: 12 kB / 1.343 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.093, allocations: 8 kB / 1.343 GB, free: 15.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/1.094, allocations: 201.5 kB / 1.343 GB, free: 15.08 MB / 1.076 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.001574/1.095, allocations: 1.542 MB / 1.345 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/1.095, allocations: 118.5 kB / 1.345 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/1.096, allocations: 92.8 kB / 1.345 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/1.096, allocations: 311.5 kB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/1.096, allocations: 30.56 kB / 1.345 GB, free: 12.79 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/1.096, allocations: 0 / 1.345 GB, free: 12.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.000734/1.097, allocations: 273.8 kB / 1.345 GB, free: 12.51 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.097, allocations: 55.41 kB / 1.345 GB, free: 12.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/1.097, allocations: 308.5 kB / 1.346 GB, free: 12.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/1.097, allocations: 29.7 kB / 1.346 GB, free: 12.1 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/1.097, allocations: 184.1 kB / 1.346 GB, free: 11.91 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/1.098, allocations: 51.3 kB / 1.346 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/1.098, allocations: 29.72 kB / 1.346 GB, free: 11.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.098, allocations: 346.8 kB / 1.346 GB, free: 11.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/1.098, allocations: 59.95 kB / 1.346 GB, free: 11.42 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.098, allocations: 113 kB / 1.346 GB, free: 11.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/1.098, allocations: 177 kB / 1.347 GB, free: 11.1 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.098, allocations: 3.938 kB / 1.347 GB, free: 11.1 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004106/1.099, allocations: 221.1 kB / 1.347 GB, free: 10.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.099, allocations: 4 kB / 1.347 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.099, allocations: 4 kB / 1.347 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/1.099, allocations: 0 / 1.347 GB, free: 10.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/1.099, allocations: 35.97 kB / 1.347 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.099, allocations: 3.938 kB / 1.347 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/1.099, allocations: 31.73 kB / 1.347 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/1.099, allocations: 4.156 kB / 1.347 GB, free: 10.79 MB / 1.076 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.0001457/1.099, allocations: 153.8 kB / 1.347 GB, free: 10.63 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/1.1, allocations: 23.72 kB / 1.347 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004342/1.1, allocations: 217 kB / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.1, allocations: 0 / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.1, allocations: 0 / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.1, allocations: 0 / 1.347 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/1.101, allocations: 0.6873 MB / 1.348 GB, free: 9.625 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.101, allocations: 8.156 kB / 1.348 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/1.101, allocations: 31.92 kB / 1.348 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.101, allocations: 0 / 1.348 GB, free: 9.586 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/1.101, allocations: 8 kB / 1.348 GB, free: 9.578 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/1.101, allocations: 7.938 kB / 1.348 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.101, allocations: 3.984 kB / 1.348 GB, free: 9.566 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004256/1.102, allocations: 329.6 kB / 1.348 GB, free: 9.207 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/1.102, allocations: 120.7 kB / 1.348 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/1.102, allocations: 8 kB / 1.348 GB, free: 9.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/1.102, allocations: 15.94 kB / 1.348 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/1.102, allocations: 11.98 kB / 1.348 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.102, allocations: 4 kB / 1.348 GB, free: 9.031 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000204/1.102, allocations: 227 kB / 1.349 GB, free: 8.809 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.8e-07/1.102, allocations: 0 / 1.349 GB, free: 8.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003748/1.103, allocations: 75.84 kB / 1.349 GB, free: 8.734 MB / 1.076 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.000387/1.103, allocations: 167.3 kB / 1.349 GB, free: 8.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003745/1.103, allocations: 155.7 kB / 1.349 GB, free: 8.418 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.103, allocations: 4 kB / 1.349 GB, free: 8.414 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001874/1.104, allocations: 87.81 kB / 1.349 GB, free: 8.328 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/1.104, allocations: 160.5 kB / 1.349 GB, free: 8.176 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/1.105, allocations: 0.554 MB / 1.35 GB, free: 7.57 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.106, allocations: 0.7756 MB / 1.351 GB, free: 6.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/1.106, allocations: 31.42 kB / 1.351 GB, free: 6.738 MB / 1.076 GB Notification: Performance of SimCode: time 3.81e-07/1.106, allocations: 0 / 1.351 GB, free: 6.738 MB / 1.076 GB Notification: Performance of Templates: time 0.007693/1.113, allocations: 4.573 MB / 1.355 GB, free: 2.215 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches