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.001528/0.001528, allocations: 112.7 kB / 16.42 MB, free: 6.457 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.00163/0.00163, allocations: 190.7 kB / 17.35 MB, free: 5.703 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.08 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.466/2.466, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8003, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1712/0.9715, allocations: 167.5 MB / 1.331 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007681/0.9792, allocations: 6.55 MB / 1.337 GB, free: 5.051 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.9798, allocations: 15.94 kB / 1.337 GB, free: 5.035 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000633/0.9805, allocations: 170.7 kB / 1.338 GB, free: 4.867 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.9828, allocations: 0.8791 MB / 1.338 GB, free: 3.984 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.9839, allocations: 333.5 kB / 1.339 GB, free: 3.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000968/0.9848, allocations: 0.7135 MB / 1.339 GB, free: 2.945 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.9854, allocations: 282.7 kB / 1.34 GB, free: 2.668 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.9866, allocations: 0.5721 MB / 1.34 GB, free: 2.094 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004934/0.9871, allocations: 263 kB / 1.34 GB, free: 1.836 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.9872, allocations: 24 kB / 1.34 GB, free: 1.812 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007124/0.9879, allocations: 347.2 kB / 1.341 GB, free: 1.473 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.9881, allocations: 107.7 kB / 1.341 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.9883, allocations: 159.2 kB / 1.341 GB, free: 1.211 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007535/0.9891, allocations: 478.9 kB / 1.342 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9891, allocations: 0 / 1.342 GB, free: 0.7461 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9891, allocations: 3.938 kB / 1.342 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.9891, allocations: 0 / 1.342 GB, free: 0.7422 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.0009871/0.9901, allocations: 0.6191 MB / 1.342 GB, free: 76 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9902, allocations: 16.02 kB / 1.342 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003838/0.9906, allocations: 63.78 kB / 1.342 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/0.9911, allocations: 325.2 kB / 1.343 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.9912, allocations: 20.56 kB / 1.343 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.9912, allocations: 28 kB / 1.343 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.9918, allocations: 323.6 kB / 1.343 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9918, allocations: 0 / 1.343 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.9918, allocations: 12 kB / 1.343 GB, free: 15.24 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.9918, allocations: 8 kB / 1.343 GB, free: 15.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.9923, allocations: 197.6 kB / 1.343 GB, free: 15.04 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.001556/0.9938, allocations: 1.535 MB / 1.345 GB, free: 13.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.9941, allocations: 130.4 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.9943, allocations: 84.81 kB / 1.345 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.9948, allocations: 299.2 kB / 1.345 GB, free: 12.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.9949, allocations: 42.56 kB / 1.345 GB, free: 12.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.9949, allocations: 0 / 1.345 GB, free: 12.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0007774/0.9957, allocations: 275.1 kB / 1.345 GB, free: 12.48 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.9957, allocations: 51.41 kB / 1.345 GB, free: 12.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.996, allocations: 316.5 kB / 1.346 GB, free: 12.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.9961, allocations: 33.7 kB / 1.346 GB, free: 12.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.9962, allocations: 180.3 kB / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.9962, allocations: 47.58 kB / 1.346 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.9963, allocations: 45.59 kB / 1.346 GB, free: 11.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9965, allocations: 338.8 kB / 1.346 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.9966, allocations: 59.95 kB / 1.346 GB, free: 11.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.9968, allocations: 109.1 kB / 1.347 GB, free: 11.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.9971, allocations: 169 kB / 1.347 GB, free: 11.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9972, allocations: 7.938 kB / 1.347 GB, free: 11.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004346/0.9976, allocations: 221.2 kB / 1.347 GB, free: 10.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9976, allocations: 8 kB / 1.347 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9976, allocations: 0 / 1.347 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9977, allocations: 4.156 kB / 1.347 GB, free: 10.83 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.9978, allocations: 35.92 kB / 1.347 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.9979, allocations: 4 kB / 1.347 GB, free: 10.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.9981, allocations: 27.83 kB / 1.347 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.9981, allocations: 8 kB / 1.347 GB, free: 10.75 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.0001368/0.9982, allocations: 152.8 kB / 1.347 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.9983, allocations: 31.81 kB / 1.347 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.9987, allocations: 217.5 kB / 1.347 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9988, allocations: 0 / 1.347 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9988, allocations: 0 / 1.347 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.9989, allocations: 120.9 kB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.9989, allocations: 0 / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.9991, allocations: 8 kB / 1.347 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.9991, allocations: 11.92 kB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004292/0.9996, allocations: 264.8 kB / 1.348 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000422/1, allocations: 359.8 kB / 1.348 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001613/1, allocations: 77.19 kB / 1.348 GB, free: 9.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002072/1, allocations: 219.1 kB / 1.348 GB, free: 9.27 MB / 1.076 GB Notification: Performance of Backend: time 6.92e-07/1, allocations: 0 / 1.348 GB, free: 9.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0009774/1.001, allocations: 271.8 kB / 1.349 GB, free: 9.004 MB / 1.076 GB Notification: Performance of SimCode: time 0.001396/1.003, allocations: 1.039 MB / 1.35 GB, free: 7.922 MB / 1.076 GB Notification: Performance of Templates: time 0.0114/1.014, allocations: 5.81 MB / 1.355 GB, free: 2.195 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