Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.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.001396/0.001396, allocations: 79.67 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001551/0.001551, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.526/1.526, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.849/2.849, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.359e-06/4.359e-06, allocations: 4 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/3.142e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1843/0.1843, allocations: 131.1 MB / 1.109 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004394/0.1887, allocations: 3.296 MB / 1.113 GB, free: 5.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1888, allocations: 3.938 kB / 1.113 GB, free: 5.016 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.1892, allocations: 55.66 kB / 1.113 GB, free: 4.961 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.1895, allocations: 147 kB / 1.113 GB, free: 4.816 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.1924, allocations: 1.076 MB / 1.114 GB, free: 3.738 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.1928, allocations: 335.5 kB / 1.114 GB, free: 3.41 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.1929, allocations: 5.812 kB / 1.114 GB, free: 3.406 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005012/0.1934, allocations: 255 kB / 1.115 GB, free: 3.156 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.1936, allocations: 115.7 kB / 1.115 GB, free: 3.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.1936, allocations: 12 kB / 1.115 GB, free: 3.031 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.1955, allocations: 1.078 MB / 1.116 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.1956, allocations: 71.78 kB / 1.116 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1958, allocations: 75.89 kB / 1.116 GB, free: 1.805 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.1969, allocations: 0.6778 MB / 1.116 GB, free: 1.125 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1969, allocations: 0 / 1.116 GB, free: 1.125 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1969, allocations: 0 / 1.116 GB, free: 1.125 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1969, allocations: 0 / 1.116 GB, free: 1.125 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001219/0.1981, allocations: 0.5204 MB / 1.117 GB, free: 0.5742 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1982, allocations: 8.031 kB / 1.117 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.1994, allocations: 132.7 kB / 1.117 GB, free: 448 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1997, allocations: 173.4 kB / 1.117 GB, free: 248 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.1997, allocations: 12.75 kB / 1.117 GB, free: 236 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.1997, allocations: 16.38 kB / 1.117 GB, free: 220 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007877/0.2005, allocations: 0.5973 MB / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2005, allocations: 0 / 1.118 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.2006, allocations: 12 kB / 1.118 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.2006, allocations: 12 kB / 1.118 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.2012, allocations: 324.2 kB / 1.118 GB, free: 15.2 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.001733/0.2029, allocations: 0.8958 MB / 1.119 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.2034, allocations: 182.4 kB / 1.119 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2036, allocations: 80.8 kB / 1.119 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003618/0.204, allocations: 67.94 kB / 1.119 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.204, allocations: 38.5 kB / 1.119 GB, free: 13.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.204, allocations: 0 / 1.119 GB, free: 13.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0007283/0.2047, allocations: 267 kB / 1.12 GB, free: 13.61 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.2048, allocations: 51.52 kB / 1.12 GB, free: 13.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.2049, allocations: 172.5 kB / 1.12 GB, free: 13.37 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.205, allocations: 33.7 kB / 1.12 GB, free: 13.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.2051, allocations: 156.1 kB / 1.12 GB, free: 13.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/0.2052, allocations: 83.31 kB / 1.12 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.2053, allocations: 53.69 kB / 1.12 GB, free: 13.03 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2055, allocations: 322.8 kB / 1.121 GB, free: 12.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2056, allocations: 68.23 kB / 1.121 GB, free: 12.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.2059, allocations: 163.6 kB / 1.121 GB, free: 12.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.2062, allocations: 249.2 kB / 1.121 GB, free: 12.15 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.2062, allocations: 4 kB / 1.121 GB, free: 12.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000561/0.2068, allocations: 281.2 kB / 1.121 GB, free: 11.87 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.2068, allocations: 8 kB / 1.121 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2068, allocations: 0 / 1.121 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.2069, allocations: 4 kB / 1.121 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.2071, allocations: 59.91 kB / 1.121 GB, free: 11.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.2071, allocations: 11.88 kB / 1.121 GB, free: 11.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.2073, allocations: 24.22 kB / 1.121 GB, free: 11.76 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.591e-05/0.2073, allocations: 12 kB / 1.121 GB, free: 11.75 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001555/0.2075, allocations: 142.2 kB / 1.122 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.2076, allocations: 19.91 kB / 1.122 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005337/0.2082, allocations: 273 kB / 1.122 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2082, allocations: 0 / 1.122 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.2082, allocations: 4 kB / 1.122 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.2082, allocations: 3.938 kB / 1.122 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007805/0.209, allocations: 0.5228 MB / 1.122 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.209, allocations: 4.062 kB / 1.122 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.2091, allocations: 27.98 kB / 1.122 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2091, allocations: 0 / 1.122 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.2091, allocations: 11.94 kB / 1.122 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2091, allocations: 0 / 1.122 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2091, allocations: 0 / 1.122 GB, free: 10.7 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.2097, allocations: 347.1 kB / 1.123 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.2098, allocations: 39.81 kB / 1.123 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.921e-05/0.2098, allocations: 11.88 kB / 1.123 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2101, allocations: 19.98 kB / 1.123 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.2101, allocations: 11.98 kB / 1.123 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.2101, allocations: 15.98 kB / 1.123 GB, free: 10.24 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001108/0.2103, allocations: 117.5 kB / 1.123 GB, free: 10.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2103, allocations: 0 / 1.123 GB, free: 10.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007371/0.211, allocations: 123.7 kB / 1.123 GB, free: 10.01 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000586/0.2116, allocations: 234.9 kB / 1.123 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.212, allocations: 195.8 kB / 1.123 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.212, allocations: 0 / 1.123 GB, free: 9.574 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2122, allocations: 95.83 kB / 1.124 GB, free: 9.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.2127, allocations: 64.64 kB / 1.124 GB, free: 9.418 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.2137, allocations: 441.4 kB / 1.124 GB, free: 8.957 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.2139, allocations: 124.4 kB / 1.124 GB, free: 8.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001991/0.2141, allocations: 53.53 kB / 1.124 GB, free: 8.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.2141, allocations: 24.5 kB / 1.124 GB, free: 8.746 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.2141, allocations: 0 / 1.124 GB, free: 8.746 MB / 1.076 GB Notification: Performance of Templates: time 0.01031/0.2244, allocations: 4.584 MB / 1.129 GB, free: 4.25 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirProperties.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.325398784130812]