Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.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.001521/0.001521, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001242/0.001242, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9991/0.9991, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.959/1.959, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senMasFlo.m_flow|senH.h_out|senH_flow.H_flow|senHSen_flow.H_flow|senHLat_flow.H_flow|pro.y|add.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0.5469 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.788e-05, allocations: 6.25 kB / 0.8116 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.1697/0.1698, allocations: 176.1 MB / 0.9836 GB, free: 1.371 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007054/0.1768, allocations: 8.083 MB / 0.9915 GB, free: 9.262 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.1773, allocations: 31.75 kB / 0.9915 GB, free: 9.23 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.178, allocations: 254.1 kB / 0.9917 GB, free: 8.98 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.1804, allocations: 1.247 MB / 0.9929 GB, free: 7.727 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.1818, allocations: 0.7981 MB / 0.9937 GB, free: 6.926 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000987/0.1828, allocations: 1.064 MB / 0.9948 GB, free: 5.859 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.1833, allocations: 338 kB / 0.9951 GB, free: 5.531 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.1854, allocations: 1.197 MB / 0.9963 GB, free: 4.367 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.1858, allocations: 387 kB / 0.9966 GB, free: 3.988 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.1859, allocations: 36 kB / 0.9967 GB, free: 3.953 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1871, allocations: 0.7944 MB / 0.9974 GB, free: 3.156 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.1872, allocations: 179.5 kB / 0.9976 GB, free: 2.98 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.1873, allocations: 171.6 kB / 0.9978 GB, free: 2.812 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1885, allocations: 0.8099 MB / 0.9986 GB, free: 2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1885, allocations: 0 / 0.9986 GB, free: 2 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1885, allocations: 4 kB / 0.9986 GB, free: 1.996 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.1885, allocations: 0 / 0.9986 GB, free: 1.996 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0009201/0.1894, allocations: 0.8337 MB / 0.9994 GB, free: 1.125 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1894, allocations: 8.031 kB / 0.9994 GB, free: 1.117 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.1901, allocations: 207.2 kB / 0.9996 GB, free: 0.9141 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.1906, allocations: 359.3 kB / 0.9999 GB, free: 0.5352 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.1906, allocations: 29 kB / 1 GB, free: 0.5078 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.1907, allocations: 43.94 kB / 1 GB, free: 476 kB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004311/0.1911, allocations: 363 kB / 1 GB, free: 76 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1911, allocations: 3.938 kB / 1 GB, free: 72 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.1911, allocations: 16 kB / 1 GB, free: 56 kB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1911, allocations: 8 kB / 1 GB, free: 48 kB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000238/0.1914, allocations: 153.8 kB / 1.001 GB, free: 15.9 MB / 0.9636 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.001354/0.1927, allocations: 1.677 MB / 1.002 GB, free: 14.15 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.193, allocations: 143 kB / 1.002 GB, free: 14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.1931, allocations: 59.66 kB / 1.002 GB, free: 13.94 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/0.1934, allocations: 75.88 kB / 1.002 GB, free: 13.86 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1934, allocations: 41.38 kB / 1.002 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=24): time 2.485e-06/0.1934, allocations: 0 / 1.002 GB, free: 13.81 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24): time 0.0005943/0.194, allocations: 260.1 kB / 1.003 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1941, allocations: 51.41 kB / 1.003 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.1943, allocations: 322.3 kB / 1.003 GB, free: 13.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.1943, allocations: 33.7 kB / 1.003 GB, free: 13.12 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1945, allocations: 287 kB / 1.003 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.1946, allocations: 95.2 kB / 1.003 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.1946, allocations: 63.36 kB / 1.004 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1948, allocations: 0.5079 MB / 1.004 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/0.1949, allocations: 39.97 kB / 1.004 GB, free: 12.11 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.1951, allocations: 203.6 kB / 1.004 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.1953, allocations: 185.2 kB / 1.004 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1953, allocations: 4 kB / 1.004 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003669/0.1957, allocations: 239.5 kB / 1.005 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.1957, allocations: 8 kB / 1.005 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1957, allocations: 3.984 kB / 1.005 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1957, allocations: 8.219 kB / 1.005 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.1959, allocations: 55.91 kB / 1.005 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1959, allocations: 8 kB / 1.005 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.1961, allocations: 23.83 kB / 1.005 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.1961, allocations: 12 kB / 1.005 GB, free: 11.29 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 31 * 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.0001233/0.1962, allocations: 176.5 kB / 1.005 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.1963, allocations: 43.7 kB / 1.005 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003804/0.1967, allocations: 216.7 kB / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1967, allocations: 0 / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1967, allocations: 0 / 1.005 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1967, allocations: 7.984 kB / 1.005 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009539/0.1976, allocations: 0.7083 MB / 1.006 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1976, allocations: 4 kB / 1.006 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.1978, allocations: 43.92 kB / 1.006 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1978, allocations: 3.984 kB / 1.006 GB, free: 10 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1978, allocations: 8.219 kB / 1.006 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1978, allocations: 8 kB / 1.006 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.1978, allocations: 8 kB / 1.006 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.1983, allocations: 454.7 kB / 1.006 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.755e-05/0.1984, allocations: 59.66 kB / 1.006 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.1985, allocations: 8 kB / 1.006 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.1986, allocations: 8 kB / 1.006 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.1987, allocations: 23.84 kB / 1.006 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1987, allocations: 15.98 kB / 1.007 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001495/0.1988, allocations: 219 kB / 1.007 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.1988, allocations: 4.031 kB / 1.007 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004565/0.1993, allocations: 127.7 kB / 1.007 GB, free: 9.035 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.000261/0.1995, allocations: 147.1 kB / 1.007 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1998, allocations: 150.5 kB / 1.007 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1998, allocations: 0 / 1.007 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.2, allocations: 88.27 kB / 1.007 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.2006, allocations: 140.3 kB / 1.007 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2019, allocations: 0.736 MB / 1.008 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.782e-05/0.202, allocations: 120.6 kB / 1.008 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.2022, allocations: 66.92 kB / 1.008 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.2023, allocations: 32.48 kB / 1.008 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of SimCode: time 9.82e-07/0.2023, allocations: 0 / 1.008 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of Templates: time 0.01005/0.2124, allocations: 5.591 MB / 1.014 GB, free: 2.039 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.697454161942005]