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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008339/0.0008339, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008035/0.0008035, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.884e-06/1.884e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.078e-05, allocations: 6.219 kB / 0.9518 GB, free: 3 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7005/0.7005, allocations: 147.7 MB / 1.096 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.7053, allocations: 5.992 MB / 1.102 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004704/0.7057, allocations: 20.19 kB / 1.102 GB, free: 37.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005129/0.7062, allocations: 174.9 kB / 1.102 GB, free: 37.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.708, allocations: 0.8671 MB / 1.103 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008642/0.7088, allocations: 379.7 kB / 1.103 GB, free: 37.4 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.7099, allocations: 0.7155 MB / 1.104 GB, free: 37.1 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005129/0.7104, allocations: 218 kB / 1.104 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.7122, allocations: 0.6606 MB / 1.105 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005614/0.7127, allocations: 247.8 kB / 1.105 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.7128, allocations: 23.47 kB / 1.105 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.7136, allocations: 304.1 kB / 1.105 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.7137, allocations: 121.6 kB / 1.105 GB, free: 36.59 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.7139, allocations: 108.1 kB / 1.106 GB, free: 36.55 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007857/0.7147, allocations: 485.5 kB / 1.106 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7147, allocations: 0 / 1.106 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7147, allocations: 4 kB / 1.106 GB, free: 36.4 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.7147, allocations: 0 / 1.106 GB, free: 36.4 MB / 0.9948 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.000821/0.7155, allocations: 0.5463 MB / 1.107 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.7156, allocations: 10.03 kB / 1.107 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003022/0.7159, allocations: 60.73 kB / 1.107 GB, free: 35.95 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.7164, allocations: 267.4 kB / 1.107 GB, free: 35.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.7164, allocations: 19.66 kB / 1.107 GB, free: 35.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.7164, allocations: 24.72 kB / 1.107 GB, free: 35.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.7169, allocations: 317.7 kB / 1.107 GB, free: 35.57 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.7169, allocations: 3.938 kB / 1.107 GB, free: 35.56 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.7169, allocations: 11.19 kB / 1.107 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7169, allocations: 6.25 kB / 1.107 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.7173, allocations: 209.9 kB / 1.107 GB, free: 35.49 MB / 0.9948 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.001099/0.7184, allocations: 1.118 MB / 1.109 GB, free: 34.61 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.7186, allocations: 112.9 kB / 1.109 GB, free: 34.56 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.7187, allocations: 88.98 kB / 1.109 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/0.7191, allocations: 75.44 kB / 1.109 GB, free: 34.53 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.7191, allocations: 36.38 kB / 1.109 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.7191, allocations: 4 kB / 1.109 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0005651/0.7197, allocations: 262.2 kB / 1.109 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.7197, allocations: 53.06 kB / 1.109 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.7199, allocations: 228.6 kB / 1.109 GB, free: 34.18 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.7199, allocations: 26.86 kB / 1.109 GB, free: 34.15 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.72, allocations: 199.4 kB / 1.11 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.72, allocations: 43.34 kB / 1.11 GB, free: 33.95 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.7201, allocations: 46.95 kB / 1.11 GB, free: 33.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.7202, allocations: 330.7 kB / 1.11 GB, free: 33.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.7203, allocations: 60.17 kB / 1.11 GB, free: 33.58 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.7204, allocations: 190.7 kB / 1.11 GB, free: 33.41 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.7206, allocations: 176.7 kB / 1.11 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7207, allocations: 0 / 1.11 GB, free: 33.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002942/0.7209, allocations: 208.3 kB / 1.111 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.721, allocations: 8.094 kB / 1.111 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.721, allocations: 4.875 kB / 1.111 GB, free: 33.22 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.721, allocations: 2.312 kB / 1.111 GB, free: 33.22 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.7211, allocations: 39.67 kB / 1.111 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7212, allocations: 3.266 kB / 1.111 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.7213, allocations: 22.94 kB / 1.111 GB, free: 33.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.7213, allocations: 8.062 kB / 1.111 GB, free: 33.2 MB / 0.9948 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.000113/0.7214, allocations: 145.5 kB / 1.111 GB, free: 33.07 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.7214, allocations: 29.45 kB / 1.111 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.7218, allocations: 206 kB / 1.111 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.7218, allocations: 6.734 kB / 1.111 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.7218, allocations: 0 / 1.111 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.7218, allocations: 1.406 kB / 1.111 GB, free: 32.96 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.7226, allocations: 0.5978 MB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.7226, allocations: 6.5 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.7227, allocations: 30.66 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.7227, allocations: 3.375 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.7227, allocations: 2.25 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7227, allocations: 4.688 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7227, allocations: 1.188 kB / 1.112 GB, free: 32.55 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.723, allocations: 331.6 kB / 1.112 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.723, allocations: 36 kB / 1.112 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.723, allocations: 14.25 kB / 1.112 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.7231, allocations: 7.828 kB / 1.112 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.7232, allocations: 17.41 kB / 1.112 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.7232, allocations: 5.984 kB / 1.112 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.7233, allocations: 166.6 kB / 1.112 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.7233, allocations: 0 / 1.112 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003416/0.7236, allocations: 79.52 kB / 1.112 GB, free: 32.14 MB / 0.9948 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.0002437/0.7238, allocations: 139.3 kB / 1.112 GB, free: 32.04 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.7241, allocations: 156.5 kB / 1.113 GB, free: 32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7241, allocations: 0 / 1.113 GB, free: 32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.7242, allocations: 84.56 kB / 1.113 GB, free: 31.97 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.7247, allocations: 93.88 kB / 1.113 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.7253, allocations: 0.5489 MB / 1.113 GB, free: 31.56 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.7255, allocations: 173.3 kB / 1.113 GB, free: 31.47 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.7255, allocations: 21.19 kB / 1.113 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.7255, allocations: 1.562 kB / 1.113 GB, free: 31.46 MB / 0.9948 GB Notification: Performance of Templates: time 0.006494/0.732, allocations: 3.93 MB / 1.117 GB, free: 31.07 MB / 0.9948 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.777160240337253]