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.001457/0.001457, allocations: 111.5 kB / 16.41 MB, free: 6.488 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.001569/0.001569, allocations: 183 kB / 17.34 MB, free: 5.766 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.875, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.183/1.058, allocations: 167.5 MB / 1.372 GB, free: 5.402 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.008371/1.066, allocations: 6.533 MB / 1.378 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005829/1.067, allocations: 19.88 kB / 1.378 GB, free: 14.83 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/1.068, allocations: 170.7 kB / 1.379 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/1.07, allocations: 0.8362 MB / 1.379 GB, free: 13.82 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/1.071, allocations: 338.7 kB / 1.38 GB, free: 13.49 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001065/1.073, allocations: 0.7172 MB / 1.38 GB, free: 12.77 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/1.073, allocations: 278.7 kB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/1.075, allocations: 0.5526 MB / 1.381 GB, free: 11.95 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005586/1.075, allocations: 270.9 kB / 1.382 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 6.792e-05/1.075, allocations: 24 kB / 1.382 GB, free: 11.66 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/1.076, allocations: 343.2 kB / 1.382 GB, free: 11.32 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/1.076, allocations: 99.7 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/1.076, allocations: 163.2 kB / 1.382 GB, free: 11.06 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000788/1.077, allocations: 468.5 kB / 1.383 GB, free: 10.61 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.077, allocations: 3.984 kB / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.487e-06/1.077, allocations: 0 / 1.383 GB, free: 10.6 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.654e-05/1.077, allocations: 3.938 kB / 1.383 GB, free: 10.6 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.001002/1.078, allocations: 0.6194 MB / 1.383 GB, free: 9.93 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/1.078, allocations: 12.03 kB / 1.383 GB, free: 9.918 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003378/1.079, allocations: 55.59 kB / 1.383 GB, free: 9.863 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/1.079, allocations: 333.1 kB / 1.384 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/1.079, allocations: 20.56 kB / 1.384 GB, free: 9.477 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/1.079, allocations: 24 kB / 1.384 GB, free: 9.453 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005566/1.08, allocations: 319.7 kB / 1.384 GB, free: 9.113 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.08, allocations: 3.938 kB / 1.384 GB, free: 9.109 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/1.08, allocations: 12 kB / 1.384 GB, free: 9.098 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/1.08, allocations: 4 kB / 1.384 GB, free: 9.094 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/1.08, allocations: 197.6 kB / 1.384 GB, free: 8.902 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.001496/1.082, allocations: 1.542 MB / 1.386 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/1.082, allocations: 118.5 kB / 1.386 GB, free: 7.098 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/1.082, allocations: 88.8 kB / 1.386 GB, free: 7.008 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/1.083, allocations: 303.2 kB / 1.386 GB, free: 6.656 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/1.083, allocations: 38.5 kB / 1.386 GB, free: 6.609 MB / 1.107 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/1.083, allocations: 4 kB / 1.386 GB, free: 6.605 MB / 1.107 GB Notification: Performance of matching and sorting (n=13): time 0.0007566/1.084, allocations: 268.6 kB / 1.386 GB, free: 6.34 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/1.084, allocations: 55.59 kB / 1.386 GB, free: 6.273 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/1.084, allocations: 308.5 kB / 1.387 GB, free: 5.969 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/1.084, allocations: 41.62 kB / 1.387 GB, free: 5.922 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/1.084, allocations: 176.2 kB / 1.387 GB, free: 5.746 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.648e-05/1.084, allocations: 47.28 kB / 1.387 GB, free: 5.699 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/1.084, allocations: 37.72 kB / 1.387 GB, free: 5.656 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.084, allocations: 342.8 kB / 1.387 GB, free: 5.312 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/1.084, allocations: 55.95 kB / 1.387 GB, free: 5.258 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/1.085, allocations: 122.7 kB / 1.388 GB, free: 5.121 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/1.085, allocations: 169 kB / 1.388 GB, free: 4.938 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.085, allocations: 3.938 kB / 1.388 GB, free: 4.934 MB / 1.107 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000418/1.085, allocations: 221.1 kB / 1.388 GB, free: 4.711 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.085, allocations: 8 kB / 1.388 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.085, allocations: 0 / 1.388 GB, free: 4.703 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.085, allocations: 4 kB / 1.388 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/1.086, allocations: 39.91 kB / 1.388 GB, free: 4.66 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.086, allocations: 4 kB / 1.388 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.086, allocations: 23.73 kB / 1.388 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/1.086, allocations: 12 kB / 1.388 GB, free: 4.621 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.000144/1.086, allocations: 149.9 kB / 1.388 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.607e-05/1.086, allocations: 31.72 kB / 1.388 GB, free: 4.434 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004276/1.087, allocations: 208.3 kB / 1.388 GB, free: 4.223 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.087, allocations: 4 kB / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.087, allocations: 0 / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.087, allocations: 0 / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/1.088, allocations: 0.6795 MB / 1.389 GB, free: 3.461 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/1.088, allocations: 4 kB / 1.389 GB, free: 3.457 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/1.088, allocations: 32.14 kB / 1.389 GB, free: 3.426 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/1.088, allocations: 4 kB / 1.389 GB, free: 3.422 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.088, allocations: 4 kB / 1.389 GB, free: 3.418 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/1.088, allocations: 7.922 kB / 1.389 GB, free: 3.41 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.088, allocations: 4 kB / 1.389 GB, free: 3.406 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000413/1.088, allocations: 333.1 kB / 1.389 GB, free: 3.043 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.088, allocations: 124.8 kB / 1.39 GB, free: 2.902 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.393e-05/1.088, allocations: 7.984 kB / 1.39 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/1.089, allocations: 11.94 kB / 1.39 GB, free: 2.883 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/1.089, allocations: 19.92 kB / 1.39 GB, free: 2.863 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.089, allocations: 8 kB / 1.39 GB, free: 2.855 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002082/1.089, allocations: 219 kB / 1.39 GB, free: 2.645 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.39 GB, free: 2.645 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003763/1.089, allocations: 71.84 kB / 1.39 GB, free: 2.574 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.0004007/1.09, allocations: 165.6 kB / 1.39 GB, free: 2.41 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004116/1.09, allocations: 160 kB / 1.39 GB, free: 2.254 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.09, allocations: 0 / 1.39 GB, free: 2.254 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/1.09, allocations: 91.88 kB / 1.39 GB, free: 2.164 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008389/1.091, allocations: 155.1 kB / 1.39 GB, free: 2.02 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008999/1.092, allocations: 0.5618 MB / 1.391 GB, free: 1.402 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/1.092, allocations: 0.7756 MB / 1.392 GB, free: 0.6016 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/1.092, allocations: 31.42 kB / 1.392 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of SimCode: time 4.21e-07/1.092, allocations: 4 kB / 1.392 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of Templates: time 0.007574/1.1, allocations: 4.566 MB / 1.396 GB, free: 12.05 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/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