Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 199 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senM_flow.m_flow|senH.h_out|senH_flow.H_flow|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.91 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9766/0.9787, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.2317/1.21, allocations: 168.3 MB / 1.438 GB, free: 11.63 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01324/1.224, allocations: 6.61 MB / 1.445 GB, free: 5 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/1.224, allocations: 15.94 kB / 1.445 GB, free: 4.984 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008628/1.225, allocations: 182.7 kB / 1.445 GB, free: 4.805 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00303/1.228, allocations: 0.8713 MB / 1.446 GB, free: 3.93 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/1.23, allocations: 346.8 kB / 1.446 GB, free: 3.594 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001353/1.231, allocations: 0.7211 MB / 1.447 GB, free: 2.867 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005879/1.231, allocations: 213.6 kB / 1.447 GB, free: 2.664 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/1.233, allocations: 0.5721 MB / 1.448 GB, free: 2.09 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005008/1.234, allocations: 290.9 kB / 1.448 GB, free: 1.805 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/1.234, allocations: 20 kB / 1.448 GB, free: 1.785 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00086/1.234, allocations: 367.1 kB / 1.448 GB, free: 1.426 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/1.235, allocations: 103.7 kB / 1.448 GB, free: 1.324 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/1.235, allocations: 163.2 kB / 1.449 GB, free: 1.164 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007751/1.236, allocations: 474.2 kB / 1.449 GB, free: 0.6992 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.236, allocations: 4 kB / 1.449 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.933e-06/1.236, allocations: 0 / 1.449 GB, free: 0.6953 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.645e-05/1.236, allocations: 0 / 1.449 GB, free: 0.6953 MB / 1.139 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.001079/1.237, allocations: 0.6252 MB / 1.45 GB, free: 24 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/1.237, allocations: 12.03 kB / 1.45 GB, free: 12 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003553/1.237, allocations: 55.73 kB / 1.45 GB, free: 15.96 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/1.238, allocations: 333.4 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/1.238, allocations: 24.5 kB / 1.45 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/1.238, allocations: 24 kB / 1.45 GB, free: 15.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/1.238, allocations: 315.7 kB / 1.45 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.238, allocations: 7.938 kB / 1.45 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/1.238, allocations: 8 kB / 1.45 GB, free: 15.2 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/1.238, allocations: 15.92 kB / 1.45 GB, free: 15.18 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/1.239, allocations: 205.6 kB / 1.451 GB, free: 14.98 MB / 1.154 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.001922/1.241, allocations: 1.527 MB / 1.452 GB, free: 13.32 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/1.241, allocations: 122.5 kB / 1.452 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/1.241, allocations: 88.73 kB / 1.452 GB, free: 13.1 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006356/1.242, allocations: 299.2 kB / 1.453 GB, free: 12.75 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/1.242, allocations: 38.48 kB / 1.453 GB, free: 12.7 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/1.242, allocations: 4 kB / 1.453 GB, free: 12.7 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008219/1.243, allocations: 273.6 kB / 1.453 GB, free: 12.43 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/1.243, allocations: 51.41 kB / 1.453 GB, free: 12.36 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/1.243, allocations: 308.5 kB / 1.453 GB, free: 12.05 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/1.243, allocations: 29.7 kB / 1.453 GB, free: 12.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/1.243, allocations: 184.3 kB / 1.453 GB, free: 11.84 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/1.244, allocations: 51.56 kB / 1.453 GB, free: 11.79 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/1.244, allocations: 41.66 kB / 1.454 GB, free: 11.74 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002122/1.244, allocations: 338.8 kB / 1.454 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.244, allocations: 55.95 kB / 1.454 GB, free: 11.34 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.244, allocations: 120.9 kB / 1.454 GB, free: 11.21 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/1.245, allocations: 173 kB / 1.454 GB, free: 11.02 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.245, allocations: 7.938 kB / 1.454 GB, free: 11.01 MB / 1.154 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004534/1.245, allocations: 217.2 kB / 1.454 GB, free: 10.79 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.245, allocations: 8 kB / 1.454 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.245, allocations: 0 / 1.454 GB, free: 10.79 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/1.245, allocations: 4 kB / 1.454 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/1.245, allocations: 35.92 kB / 1.454 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.245, allocations: 12.14 kB / 1.454 GB, free: 10.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001698/1.245, allocations: 19.89 kB / 1.454 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/1.245, allocations: 11.98 kB / 1.454 GB, free: 10.7 MB / 1.154 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.0001648/1.246, allocations: 145.8 kB / 1.455 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/1.246, allocations: 27.81 kB / 1.455 GB, free: 10.52 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/1.246, allocations: 213.5 kB / 1.455 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/1.246, allocations: 8 kB / 1.455 GB, free: 10.3 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.246, allocations: 3.984 kB / 1.455 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.246, allocations: 0 / 1.455 GB, free: 10.29 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.247, allocations: 0.6757 MB / 1.456 GB, free: 9.539 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/1.247, allocations: 4 kB / 1.456 GB, free: 9.535 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/1.247, allocations: 31.92 kB / 1.456 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/1.247, allocations: 4.047 kB / 1.456 GB, free: 9.5 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/1.247, allocations: 3.984 kB / 1.456 GB, free: 9.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/1.247, allocations: 7.938 kB / 1.456 GB, free: 9.488 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.247, allocations: 4 kB / 1.456 GB, free: 9.484 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/1.248, allocations: 341.4 kB / 1.456 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/1.248, allocations: 120.8 kB / 1.456 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/1.248, allocations: 8 kB / 1.456 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/1.248, allocations: 11.92 kB / 1.456 GB, free: 8.957 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/1.248, allocations: 19.92 kB / 1.456 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.248, allocations: 7.938 kB / 1.456 GB, free: 8.93 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002698/1.249, allocations: 223 kB / 1.456 GB, free: 8.715 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/1.249, allocations: 4 kB / 1.456 GB, free: 8.711 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0004051/1.249, allocations: 71.89 kB / 1.456 GB, free: 8.641 MB / 1.154 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.000474/1.25, allocations: 157.8 kB / 1.457 GB, free: 8.488 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0004622/1.25, allocations: 159.7 kB / 1.457 GB, free: 8.332 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.25, allocations: 0 / 1.457 GB, free: 8.332 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/1.25, allocations: 80.45 kB / 1.457 GB, free: 8.254 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/1.251, allocations: 151 kB / 1.457 GB, free: 8.109 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.253, allocations: 0.5441 MB / 1.457 GB, free: 7.516 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/1.253, allocations: 0.7834 MB / 1.458 GB, free: 6.703 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001818/1.253, allocations: 58.94 kB / 1.458 GB, free: 6.645 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.078e-05/1.253, allocations: 27.44 kB / 1.458 GB, free: 6.617 MB / 1.154 GB Notification: Performance of SimCode: time 2.91e-07/1.253, allocations: 4 kB / 1.458 GB, free: 6.613 MB / 1.154 GB Notification: Performance of Templates: time 0.01177/1.265, allocations: 5.218 MB / 1.463 GB, free: 1.477 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EnthalpyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.399852499365807]